PasswordStoreConfigurationMBean Interface
- public interface PasswordStoreConfigurationMBean
extends ConfigurationMBean
Manages the WLI password store
-
All Superinterfaces
-
ConfigurationMBean, DynamicMBean, MBeanRegistration, NotificationBroadcaster, WebLogicMBean
public static final long |
-
CACHING_STUB_SVUID
- The magic number that is used to generate the serialVersionUID of the generated
MBean Stub (xxxMBean_Stub).
|
public static final String |
-
TYPE
- String
|
Methods from interface weblogic.management.configuration.ConfigurationMBean |
freezeCurrentValue, getAttributeStringValue, getComments, getNotes, getSetFields, getXml, getXmlConverter, isDefaultedMBean, isPersistenceEnabled, preDeregister, registerConfigMBean, restoreDefaultValue, setComments, setDefaultedMBean, setNotes, setPersistenceEnabled, touch, unRegisterConfigMBean |
CACHING_STUB_SVUID
public static final long CACHING_STUB_SVUID
- The magic number that is used to generate the serialVersionUID of the generated
MBean Stub (xxxMBean_Stub). You must change this value whenever you make one of the
changes to this interface:
- remove an existing method.
- change the signature of an existing "getter" or "setter" method.
- change the signature of an existing "boolean getter", i.e, "boolean isEnabled()"
Otherwise you don't need to change this value. For instance you can add new methods,
or you can change the signature of methods that don't start with "get", "set" or "is".
If you are in doubt then change the SVUID.
It is a good idea to increment this value when changing.
TYPE
public static final String TYPE
deletePassword(String) Method
public void deletePassword(String alias)
throws NotFoundException, MBeanException
delete a password
Parameters
-
alias
- Alias of password
Exceptions
-
NotFoundException
-
MBeanException
getAliasList() Method
public String[] getAliasList()
throws MBeanException
Get all the aliases in the store
Returns
- array of aliases
Exceptions
-
MBeanException
getPassword(String) Method
public String getPassword(String alias)
throws NotFoundException, MBeanException
Get a password
Parameters
-
alias
- Alias of password
Returns
- password
Exceptions
-
NotFoundException
-
MBeanException
setPassword(String, String) Method
public void setPassword(String alias,
String password)
throws AlreadyExistsException, MBeanException
Set a password
Parameters
-
alias
- Alias of password
-
password
- Password to set
Exceptions
-
AlreadyExistsException
-
MBeanException
updatePassword(String, String, String) Method
public void updatePassword(String alias,
String oldPassword,
String newPassword)
throws NotFoundException, MBeanException
update a password
Parameters
-
alias
- Alias of password
-
oldPassword
- the old password
-
newPassword
- the new password
Exceptions
-
NotFoundException
-
MBeanException