public class ScriptIdentityRepository extends Object
| Constructor and Description |
|---|
ScriptIdentityRepository(AMIdentityRepository identityRepository)
Constructor for
ScriptIdentityRepository object |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttribute(String userName,
String attributeName,
String attributeValue)
Adds an attribute to the list of values already assigned to the attributeName
|
Set |
getAttribute(String userName,
String attributeName)
Returns a particular attribute for a particular user
|
void |
setAttribute(String userName,
String attributeName,
String[] attributeValues)
Sets a particular attribute for a particular user.
|
public ScriptIdentityRepository(AMIdentityRepository identityRepository)
ScriptIdentityRepository objectidentityRepository - The AmIdentityRepository object used to retrieve/persist user informationpublic Set getAttribute(String userName, String attributeName)
userName - The name of the userattributeName - The attribute name to be returnedpublic void setAttribute(String userName, String attributeName, String[] attributeValues)
userName - The name of the userattributeName - The attribute name to be setattributeValues - The new value of the attributepublic void addAttribute(String userName, String attributeName, String attributeValue)
userName - The name of the userattributeName - The attribute name to be added toattributeValue - The value to be addedCopyright © 2010–2022 Open Identity Platform Community. All rights reserved.