Cumulus4j API
(1.0.0)

org.cumulus4j.keymanager.cli
Class SubCommandWithKeyStoreWithAuth

java.lang.Object
  extended by org.cumulus4j.keymanager.cli.SubCommand
      extended by org.cumulus4j.keymanager.cli.SubCommandWithKeyStore
          extended by org.cumulus4j.keymanager.cli.SubCommandWithKeyStoreWithAuth
Direct Known Subclasses:
InfoSubCommand

public abstract class SubCommandWithKeyStoreWithAuth
extends SubCommandWithKeyStore

Abstract SubCommand implementation for being subclassed when a key-store and authentication (user + password) is used.

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

Constructor Summary
SubCommandWithKeyStoreWithAuth()
           
 
Method Summary
 String getAuthPassword()
           
 char[] getAuthPasswordAsCharArray()
           
 String getAuthUserName()
           
 void prepare()
           
 
Methods inherited from class org.cumulus4j.keymanager.cli.SubCommandWithKeyStore
getKeyStore, getKeyStoreFile
 
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

SubCommandWithKeyStoreWithAuth

public SubCommandWithKeyStoreWithAuth()
Method Detail

getAuthUserName

public String getAuthUserName()

getAuthPasswordAsCharArray

public char[] getAuthPasswordAsCharArray()

getAuthPassword

public String getAuthPassword()

prepare

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

Cumulus4j API
(1.0.0)

Copyright © 2012 NightLabs Consulting GmbH. All Rights Reserved.