CredentialMBean Interface
- 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.
-
All Superinterfaces
-
ConfigurationMBean
, DynamicMBean
, MBeanRegistration
, NotificationBroadcaster
, ServiceConfigurationMBean
, WebLogicMBean
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 |
getCredentialEncrypted() Method
public byte[] getCredentialEncrypted()
Get the credential
Returns
- the credential
getUsername() Method
public String
getUsername()
Get the username
Returns
- the username
setCredentialEncrypted(byte[]) Method
public void setCredentialEncrypted(byte[] credentialBytes)
Set the encrypted credential.
Parameters
-
credentialBytes
- The encrypted credential
setUsername(String) Method
public void setUsername(String
username)
Set the username
Parameters
-
username
- The username