|
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 managerMethod Detail |
---|
public ObjectName getObjectName()
protected oracle.axia.api.credentialstore.CredentialStoreManager getCredentialStoreManager()
public void setPassword(String key, String password, boolean oneWay) throws MBeanException
CredentialStoreMBean
setPassword
in interface CredentialStoreMBean
key
- 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
CredentialStoreMBean
validatePassword
in interface CredentialStoreMBean
key
- Keypassword
- paswordMBeanException
public void setKeystore(String key, String password, String urlPath) throws MBeanException
CredentialStoreMBean
setKeystore
in interface CredentialStoreMBean
key
- Keypassword
- paswordurlPath
- keystore urlMBeanException
public boolean containsKey(String key)
CredentialStoreMBean
containsKey
in interface CredentialStoreMBean
key
- Keypublic void deleteKey(String key) throws MBeanException
CredentialStoreMBean
deleteKey
in interface CredentialStoreMBean
key
- KeyMBeanException
public void clear() throws MBeanException
CredentialStoreMBean
clear
in interface CredentialStoreMBean
MBeanException
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 |