PasswordStoreConfigurationMBean Interface

com.bea.wli.management.configuration
PasswordStoreConfigurationMBean Interface

public interface PasswordStoreConfigurationMBean

    extends ConfigurationMBean

Manages the WLI password store


All Superinterfaces
ConfigurationMBean, DynamicMBean, MBeanRegistration, NotificationBroadcaster, WebLogicMBean

Field Summary

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
   
Fields from interface weblogic.management.configuration.ConfigurationMBean
CACHING_STUB_SVUID, DEFAULT_EMPTY_BYTE_ARRAY
 

Method Summary

public void
deletePassword(String alias)
delete a password
public String[]
getAliasList()
Get all the aliases in the store
public String
getPassword(String alias)
Get a password
public void
setPassword(String alias, String password)
Set a password
public void
updatePassword(String alias, String oldPassword, String newPassword)
update a password
 
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
 
Methods from interface javax.management.DynamicMBean
getAttribute, getAttributes, getMBeanInfo, invoke, setAttribute, setAttributes
 
Methods from interface javax.management.MBeanRegistration
postDeregister, postRegister, preDeregister, preRegister
 
Methods from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 
Methods from interface weblogic.management.WebLogicMBean
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent
   

Field Detail

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

 

Method Detail

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