public interface CredentialStoreMBean
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Removes all entries.
|
boolean |
containsKey(java.lang.String key)
Returns true if the key exists in the credential store.
|
void |
deleteKey(java.lang.String key)
Deletes a key.
|
void |
setKeystore(java.lang.String key,
java.lang.String password,
java.lang.String url)
Stores a KeyStore for the given key.
|
void |
setPassword(java.lang.String key,
java.lang.String password,
boolean oneWay)
Stores a password for the given key, using either a one-way or two-way encryption.
|
boolean |
validatePassword(java.lang.String key,
java.lang.String password)
Validates a password against a password stored for the specified key.
|
void setPassword(java.lang.String key,
java.lang.String password,
boolean oneWay)
throws javax.management.MBeanException
key - Keypassword - paswordoneWay - True if one way encryption should be use, false for two way encryption.javax.management.MBeanExceptionboolean validatePassword(java.lang.String key,
java.lang.String password)
throws javax.management.MBeanException
key - Keypassword - paswordjavax.management.MBeanExceptionvoid setKeystore(java.lang.String key,
java.lang.String password,
java.lang.String url)
throws javax.management.MBeanException
key - Keypassword - paswordurl - keystore urljavax.management.MBeanExceptionboolean containsKey(java.lang.String key)
key - Keyvoid deleteKey(java.lang.String key)
throws javax.management.MBeanException
key - Keyjavax.management.MBeanExceptionvoid clear()
throws javax.management.MBeanException
javax.management.MBeanException