Cumulus4j API
(1.2.0-SNAPSHOT)

org.cumulus4j.keymanager.cli
Class SubCommandWithKeyManagerAPIWithAuth

java.lang.Object
  extended by org.cumulus4j.keymanager.cli.SubCommand
      extended by org.cumulus4j.keymanager.cli.SubCommandWithKeyManagerAPI
          extended by org.cumulus4j.keymanager.cli.SubCommandWithKeyManagerAPIWithAuth
Direct Known Subclasses:
DeleteUserSubCommand, PutUserSubCommand

public abstract class SubCommandWithKeyManagerAPIWithAuth
extends SubCommandWithKeyManagerAPI

Abstract SubCommand implementation for being subclassed when the KeyManagerAPI is used.

Author:
Marco หงุ่ยตระกูล-Schulze - marco at nightlabs dot de

Constructor Summary
SubCommandWithKeyManagerAPIWithAuth()
           
 
Method Summary
 String getAuthPassword()
           
 char[] getAuthPasswordAsCharArray()
           
 String getAuthUserName()
           
 void prepare()
           
 
Methods inherited from class org.cumulus4j.keymanager.cli.SubCommandWithKeyManagerAPI
getKeyManagerAPI
 
Methods inherited from class org.cumulus4j.keymanager.cli.SubCommand
getSubCommandDescription, getSubCommandName, promptPassword, run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubCommandWithKeyManagerAPIWithAuth

public SubCommandWithKeyManagerAPIWithAuth()
Method Detail

getAuthUserName

public String getAuthUserName()

getAuthPasswordAsCharArray

public char[] getAuthPasswordAsCharArray()

getAuthPassword

public String getAuthPassword()

prepare

public void prepare()
             throws Exception
Overrides:
prepare in class SubCommandWithKeyManagerAPI
Throws:
Exception

Cumulus4j API
(1.2.0-SNAPSHOT)

Copyright © 2013 NightLabs Consulting GmbH. All Rights Reserved.