| 
Cumulus4j API (1.2.0)  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.cumulus4j.keymanager.api.internal.AbstractKeyManagerAPI
public abstract class AbstractKeyManagerAPI
| Field Summary | |
|---|---|
protected static String | 
FILE_URL_PREFIX
 | 
| Constructor Summary | |
|---|---|
AbstractKeyManagerAPI()
 | 
|
| Method Summary | |
|---|---|
protected static boolean | 
equals(Object o1,
             Object o2)
 | 
 char[] | 
getAuthPassword()
Convenience method delegating to KeyManagerAPIConfiguration.getAuthPassword(). | 
 String | 
getAuthUserName()
Convenience method delegating to KeyManagerAPIConfiguration.getAuthUserName(). | 
 KeyManagerAPIConfiguration | 
getConf()
Get the configuration.  | 
 KeyManagerAPIConfiguration | 
getConfiguration()
Get the current configuration of this KeyManagerAPI. | 
 String | 
getKeyManagerBaseURL()
Convenience method delegating to KeyManagerAPIConfiguration.getKeyManagerBaseURL(). | 
 String | 
getKeyStoreID()
Convenience method delegating to KeyManagerAPIConfiguration.getKeyStoreID(). | 
 void | 
setConfiguration(KeyManagerAPIConfiguration configuration)
Set the configuration for this KeyManagerAPI instance. | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface org.cumulus4j.keymanager.api.KeyManagerAPI | 
|---|
deleteUser, getCryptoSession, initDateDependentKeyStrategy, putUser | 
| Field Detail | 
|---|
protected static final String FILE_URL_PREFIX
| Constructor Detail | 
|---|
public AbstractKeyManagerAPI()
| Method Detail | 
|---|
public KeyManagerAPIConfiguration getConf()
                                   throws IllegalStateException
IllegalStateException is thrown.
null.
IllegalStateException - if there is no configuration, yet, i.e. setConfiguration(...) was not yet called.
public String getAuthUserName()
                       throws IllegalStateException
KeyManagerAPIConfiguration.getAuthUserName().
IllegalStateException - if there is no configuration, yet, i.e. setConfiguration(...) was not yet called.
public char[] getAuthPassword()
                       throws IllegalStateException
KeyManagerAPIConfiguration.getAuthPassword().
IllegalStateException - if there is no configuration, yet, i.e. setConfiguration(...) was not yet called.
public String getKeyStoreID()
                     throws IllegalStateException
KeyManagerAPIConfiguration.getKeyStoreID().
IllegalStateException - if there is no configuration, yet, i.e. setConfiguration(...) was not yet called.
public String getKeyManagerBaseURL()
                            throws IllegalStateException
KeyManagerAPIConfiguration.getKeyManagerBaseURL().
IllegalStateException - if there is no configuration, yet, i.e. setConfiguration(...) was not yet called.
public void setConfiguration(KeyManagerAPIConfiguration configuration)
                      throws IllegalArgumentException,
                             KeyManagerAPIInstantiationException
KeyManagerAPI
 Set the configuration for this KeyManagerAPI instance.
 
 Before a KeyManagerAPI instance can actually be used, it first needs to be configured. The configuration
 passed to this method will be marked read-only.
 
setConfiguration in interface KeyManagerAPIconfiguration - the configuration (which will be marked read-only
 by this operation). Must not be null.
IllegalArgumentException - if the configuration is null or incomplete (e.g. configuration.keyStoreID being null).
KeyManagerAPIInstantiationException - if the actual implementation cannot be instantiated.public KeyManagerAPIConfiguration getConfiguration()
KeyManagerAPIKeyManagerAPI. If KeyManagerAPI.setConfiguration(KeyManagerAPIConfiguration) was not
 yet called, this is null.
getConfiguration in interface KeyManagerAPIKeyManagerAPIConfiguration (or null, if not yet configured).
protected static boolean equals(Object o1,
                                Object o2)
  | 
Cumulus4j API (1.2.0)  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||