Class DefaultFSUserProvider
- java.lang.Object
-
- com.sun.identity.federation.accountmgmt.DefaultFSUserProvider
-
- All Implemented Interfaces:
FSUserProvider
public class DefaultFSUserProvider extends Object implements FSUserProvider
This is a default implemetation ofFSUserProvider.
-
-
Constructor Summary
Constructors Constructor Description DefaultFSUserProvider()Default Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetUserID(String orgDN, Map avPairs, Map env)Searches user.voidinit(String hostedProviderId)Initializes the provider.
-
-
-
Constructor Detail
-
DefaultFSUserProvider
public DefaultFSUserProvider() throws FSAccountMgmtExceptionDefault Constructor.- Throws:
FSAccountMgmtException
-
-
Method Detail
-
init
public void init(String hostedProviderId) throws FSAccountMgmtException
Initializes the provider.- Specified by:
initin interfaceFSUserProvider- Parameters:
hostedProviderId- ID of hosted provider.- Throws:
FSAccountMgmtException- if an error occurred during initialization.
-
getUserID
public String getUserID(String orgDN, Map avPairs, Map env) throws FSAccountMgmtException
Searches user.- Specified by:
getUserIDin interfaceFSUserProvider- Parameters:
orgDN- The organization to search the user.avPairs- Attribute value pairs that will be used for searching the user.env- Extra parameters that can be used for user mapping.- Throws:
FSAccountMgmtException- if an error occurred.
-
-