Provides a set of methods for reading the credential mappings. Credential mappings match WebLogic users to remote usernames and passwords.
If you use the getMBeanInfo
operation in MBeanTypeServiceMBean, supply the following value as this MBean's fully qualified interface name:
weblogic.management.security.credentials.UserPasswordCredentialMapExtendedReaderMBean
No factory methods. Instances of this MBean are created automatically.
The following MBeans extend or implement this MBean type:
|
This section describes the following operations:
Advances the list to the next element in the list.
Operation Name | "advance" |
Parameters | Object [] {
cursor }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns |
void
|
weblogic.management.utils.InvalidCursorException
Indicates that the caller is finished using the list, and that the resources held on behalf of the list may be released. If the caller traverses through all the elements in the list, the caller need not call this method. In other words, it is used to let the caller close the list without reading each element that is returned.
Operation Name | "close" |
Parameters | Object [] {
cursor }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns |
void
|
weblogic.management.utils.InvalidCursorException
Gets a password from a list that has been returned from the
listCredentials
method. This method returns the
password that corresponds to current location in the list.
Deprecated in WLS 9.0
Deprecated.
Operation Name | "getCurrentCredentialRemotePassword" |
Parameters | Object [] {
cursor }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns | String
|
weblogic.management.utils.InvalidCursorException
Gets a remote username from a list that has been returned from
the listCredentials
method. This method returns the
remote username that corresponds to current location in the
list.
Operation Name | "getCurrentCredentialRemoteUserName" |
Parameters | Object [] {
cursor }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns | String
|
weblogic.management.utils.InvalidCursorException
Gets an remote username from a credentials mapping that has been
returned from the listMappings
method. This method
returns the remote username that corresponds to current location in
the list.
Operation Name | "getCurrentMappingRemoteUserName" |
Parameters | Object [] {
cursor }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns | String
|
weblogic.management.utils.InvalidCursorException
Gets an resource id from a credentials map that has been
returned from the listMappingsByPattern
method. This
method returns the resource id that corresponds to current location
in the list.
Operation Name | "getCurrentMappingResourceID" |
Parameters | Object [] {
cursor }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns | String
|
weblogic.management.utils.InvalidCursorException
Gets a webLogic username from a credentials mapping that has
been returned from the listMappings
method. This
method returns the local webLogic username that corresponds to
current location in the list.
Operation Name | "getCurrentMappingWLSUserName" |
Parameters | Object [] {
cursor }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns | String
|
weblogic.management.utils.InvalidCursorException
Gets the remote password corresponding to the remote username in the credential created for the specified resource. Deprecated in WLS 9.0
Deprecated.
Operation Name | "getRemotePassword" |
Parameters | Object [] {
resourceId, remoteUserName }
where:
|
Signature | String [] {
"java.lang.String",
"java.lang.String" } |
Returns | String
|
weblogic.management.utils.NotFoundException
Gets the external username that is mapped to a local webLogic username for the specified resource.
Operation Name | "getRemoteUserName" |
Parameters | Object [] {
resourceId, wlsUserName }
where:
|
Signature | String [] {
"java.lang.String",
"java.lang.String" } |
Returns | String
|
weblogic.management.utils.NotFoundException
Returns true if there are more objects in the list, and false otherwise.
Operation Name | "haveCurrent" |
Parameters | Object [] {
cursor }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns |
boolean
|
weblogic.management.utils.InvalidCursorException
Gets a list of credentials mapped to the resource. Returns a
cursor as a string. Use the
getCurrentCredentialRemoteUserName
and
getCurrentCredentialRemotePassword
methods to get the
username and password for the current item in the list.
Operation Name | "listCredentials" |
Parameters | Object [] {
resourceId }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns | String
|
Gets a list of credential mappings created for the given
resource id. Returns a cursor as a string. Use the
getCurrentMappingWLSUserName
and
getCurrentMappingRemoteUserName
methods to return the
webLogic username and remote user name for the current item in the
list.
Operation Name | "listMappings" |
Parameters | Object [] {
resourceId }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns | String
|
Gets a list of all credential mappings with the resource id
matching the specified resource id pattern. Returns a cursor as a
string. Use the getCurrentMappingWLSUserName
and
getCurrentMappingRemoteUserName()
and
getCurrentMappingResourceID()
methods to return the
WebLogic username and external user name and the current resource
ID for the current item in the list.
Operation Name | "listMappingsByPattern" |
Parameters | Object [] {
resourceIdPattern, maxToReturn }
where:
|
Signature | String [] {
"java.lang.String",
"java.lang.Integer" } |
Returns | String
|
Operation Name | "wls_getDisplayName" |
Parameters | null |
Signature | null |
Returns | String
|