Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.2)

Part Number E27170-02

weblogic.management.security.credentials
Interface UserPasswordCredentialMapExtendedReaderMBean

All Superinterfaces:
DescriptorBean, ListerMBean, SettableBean, StandardInterface, UserPasswordCredentialMapReaderMBean
All Known Subinterfaces:
DefaultCredentialMapperMBean

public interface UserPasswordCredentialMapExtendedReaderMBean
extends UserPasswordCredentialMapReaderMBean

Provides a set of methods for reading the credential mappings. Credential mappings match WebLogic users to remote usernames and passwords.


Method Summary
 String getCurrentMappingResourceID(String cursor)
          Gets an resource id from a credentials map that has been returned from the listMappingsByPattern method.
 String listMappingsByPattern(String resourceIdPattern, int maxToReturn)
          Gets a list of all credential mappings with the resource id matching the specified resource id pattern.
 
Methods inherited from interface weblogic.management.security.credentials.UserPasswordCredentialMapReaderMBean
getCurrentCredentialRemotePassword, getCurrentCredentialRemoteUserName, getCurrentMappingRemoteUserName, getCurrentMappingWLSUserName, getRemotePassword, getRemoteUserName, listCredentials, listMappings
 
Methods inherited from interface weblogic.management.utils.ListerMBean
advance, close, haveCurrent
 
Methods inherited from interface weblogic.management.commo.StandardInterface
getName
 
Methods inherited from interface weblogic.descriptor.DescriptorBean
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener
 
Methods inherited from interface weblogic.descriptor.SettableBean
isSet, unSet
 

Method Detail

listMappingsByPattern

String listMappingsByPattern(String resourceIdPattern,
                             int maxToReturn)
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.

Parameters:
resourceIdPattern - - Resource Id string pattern, that can contain '*' - wild card, and '\' - escape character.
maxToReturn - - Maximum number of returned mappings
Returns:
a string which is a cursor used to get each credential mapping.

getCurrentMappingResourceID

String getCurrentMappingResourceID(String cursor)
                                   throws 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.

Parameters:
cursor - - The cursor that has been returned from the listMappings method and the listMappingsByPattern.
Returns:
a string which is the resource id.
Throws:
InvalidCursorException

Copyright 1996, 2013, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.2)

Part Number E27170-02