Interface IdentityStoreContext
public interface IdentityStoreContext
IdentityStoreContext will expose the
OAM Identitystore operation that are essential for the
plug-ins.
Only read operations and authentication operations will be exposed.
- Since:
- OAM 11.1.1.2.0
-
Method Summary
Modifier and TypeMethodDescriptionbooleanauthenticateUser<wbr>(String userName, String password)authenticateUserByName<wbr>(String userName, String password)booleancompareAttribute<wbr>(UserInfo info, String attributeName, char[] attributeValue)getGroups<wbr>(int startIndex)getGroupsForUser<wbr>(String username)getIdentityStoreHandle<wbr>(String id)getUserAttributes<wbr>(IdmUser user, List<String> attributeNames)getUsersByAttribute<wbr>(String attrName, String attrValue)locateUser<wbr>(String userId)locateUser<wbr>(String attribute, String value)voidmodifyUserAttribute<wbr>(String userName, String attributeName, String attributeValue)Modify user attribute.voidmodifyUserMultiAttribute<wbr>(String userName, String attributeName, List<String> deleteVals, List<String> addVals)Update user multi-valued attribute .
-
Method Details
-
getIdentityStoreHandle
AMIdentiyStoreHandle getIdentityStoreHandle() -
getIdentityStoreHandle
-
authenticateUser
- Throws:
IdentityProviderException
-
authenticateUserByName
IdmUser authenticateUserByName<wbr>(String userName, String password) throws IdentityProviderException- Throws:
IdentityProviderException
-
modifyUserAttribute
void modifyUserAttribute<wbr>(String userName, String attributeName, String attributeValue) throws IdentityProviderExceptionModify user attribute.- Parameters:
userName- the user nameattributeName- the attribute nameattributeValue- the attribute value- Throws:
IdentityProviderException
-
modifyUserMultiAttribute
void modifyUserMultiAttribute<wbr>(String userName, String attributeName, List<String> deleteVals, List<String> addVals) throws IdentityProviderExceptionUpdate user multi-valued attribute . This means adding some attributes and removing some.- Parameters:
userName- the user nameattributeName- the attribute nameattributeValue- the attribute value- Throws:
IdentityProviderException
-
locateUser
- Throws:
IdentityProviderException
-
locateUser
Collection<UserInfo> locateUser<wbr>(String attribute, String value) throws IdentityProviderException- Throws:
IdentityProviderException
-
getUserAttributes
Map<String,<wbr>String> getUserAttributes<wbr>(IdmUser user, List<String> attributeNames) throws IdentityProviderException- Throws:
IdentityProviderException
-
getGroups
- Throws:
IdentityProviderException
-
getGroupsForUser
- Throws:
IdentityProviderException
-
getUsersByAttribute
List<IdmUser> getUsersByAttribute<wbr>(String attrName, String attrValue) throws IdentityProviderException- Throws:
IdentityProviderException
-
compareAttribute
boolean compareAttribute<wbr>(UserInfo info, String attributeName, char[] attributeValue) throws IdentityProviderException- Throws:
IdentityProviderException
-