com.bea.p13n.mbeans
Interface CredentialMBean
- All Superinterfaces:
- ConfigurationMBean, javax.management.DynamicMBean, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, ServiceConfigurationMBean, WebLogicMBean
- public interface CredentialMBean
- extends ServiceConfigurationMBean
The MBean that provides a store for a username with a credential that
is encrypted on the file system, but is decryptable so it can be
passed around as plain text by the services that use it. For example,
you may want to bind to an external LDAP server using a username and
plain-text password.
The name of this MBean is used by the service that uses it to find
the username/credential of interest.
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean |
freezeCurrentValue, getAttributeStringValue, getComments, getNotes, getSetFields, getXmlConverter, isDefaultedMBean, isPersistenceEnabled, preDeregister, registerConfigMBean, restoreDefaultValue, setComments, setDefaultedMBean, setNotes, setPersistenceEnabled, touch, unRegisterConfigMBean |
Methods inherited from interface javax.management.DynamicMBean |
getAttribute, getAttributes, invoke, setAttribute, setAttributes |
Methods inherited from interface javax.management.MBeanRegistration |
postDeregister, postRegister, preRegister |
Methods inherited from interface javax.management.NotificationBroadcaster |
addNotificationListener, getNotificationInfo, removeNotificationListener |
getCredentialEncrypted
public byte[] getCredentialEncrypted()
- Get the credential
- Returns:
- the credential
getUsername
public String getUsername()
- Get the username
- Returns:
- the username
setCredentialEncrypted
public void setCredentialEncrypted(byte[] credentialBytes)
- Set the encrypted credential.
- MBean Attribute is encrypted
setUsername
public void setUsername(String username)
- Set the username
- Parameters:
username
- The username
Copyright © 2005 BEA Systems, Inc. All Rights Reserved