|
Oracle Communications Service Broker Configuration and Runtime MBean Java API Referencee 6.1 E38079-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.axia.api.management.credentialstore.AbstractCredentialStoreMBean
public abstract class AbstractCredentialStoreMBean
Abstract implementation of the credential store mbean.
| Constructor Summary | |
|---|---|
AbstractCredentialStoreMBean(ObjectName objectName, oracle.axia.api.credentialstore.CredentialWriter credentialWriter, oracle.axia.api.credentialstore.CredentialStoreManager credentialStoreManager)Creates the instance. |
|
| Method Summary | |
|---|---|
void |
clear()Removes all entries. |
boolean |
containsKey(String key)Returns true if the key exists in the credential store. |
void |
deleteKey(String key)Deletes a key. |
protected oracle.axia.api.credentialstore.CredentialStoreManager |
getCredentialStoreManager() |
ObjectName |
getObjectName()Returns the object name used for this mbean implementation instance. |
protected void |
save(String... keys)Saves the content of the credential store inside the bundle. |
void |
setKeystore(String key, String password, String urlPath)Stores a KeyStore for the given key. |
void |
setPassword(String key, String password, boolean oneWay)Stores a password for the given key, using either a one-way or two-way encryption. |
boolean |
validatePassword(String key, String password)Validates a password against a password stored for the specified key. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractCredentialStoreMBean(ObjectName objectName,
oracle.axia.api.credentialstore.CredentialWriter credentialWriter,
oracle.axia.api.credentialstore.CredentialStoreManager credentialStoreManager)
objectName - The object name identifying this instancecredentialWriter - The credential writercredentialStoreManager - The credential store manager| Method Detail |
|---|
public ObjectName getObjectName()
protected oracle.axia.api.credentialstore.CredentialStoreManager getCredentialStoreManager()
public void setPassword(String key,
String password,
boolean oneWay)
throws MBeanException
CredentialStoreMBeansetPassword in interface CredentialStoreMBeankey - Keypassword - paswordoneWay - True if one way encryption should be use, false for two way encryption.MBeanException
public boolean validatePassword(String key,
String password)
throws MBeanException
CredentialStoreMBeanvalidatePassword in interface CredentialStoreMBeankey - Keypassword - paswordMBeanException
public void setKeystore(String key,
String password,
String urlPath)
throws MBeanException
CredentialStoreMBeansetKeystore in interface CredentialStoreMBeankey - Keypassword - paswordurlPath - keystore urlMBeanExceptionpublic boolean containsKey(String key)
CredentialStoreMBeancontainsKey in interface CredentialStoreMBeankey - Key
public void deleteKey(String key)
throws MBeanException
CredentialStoreMBeandeleteKey in interface CredentialStoreMBeankey - KeyMBeanException
public void clear()
throws MBeanException
CredentialStoreMBeanclear in interface CredentialStoreMBeanMBeanException
protected void save(String... keys)
throws IOException,
oracle.axia.api.credentialstore.CredentialStoreException
keys - The list of keys that has changedIOException - Exception saving the storeoracle.axia.api.credentialstore.CredentialStoreException - Exception saving the store
|
Oracle Communications Service Broker Configuration and Runtime MBean Java API Referencee 6.1 E38079-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||