Package | Description |
---|---|
com.sun.identity.idm |
Provides classes for accessing the Identity Repository interfaces.
|
Modifier and Type | Class and Description |
---|---|
class |
IdRepoDuplicateObjectException
An exception type thrown when an
IdRepo is asked to
create an object with a name that is already used. |
class |
IdRepoFatalException
The exception class whose instance is thrown if there is any error during the
operation of objects of the
com.sun.identity.sms package. |
class |
IdRepoUnsupportedOpException
The exception class whose instance is thrown if there is any error during the
operation of objects of the
com.sun.identity.sms package. |
class |
PasswordPolicyException
The exception class whose instance is thrown if there is any error related with password issue.
|
Modifier and Type | Method and Description |
---|---|
abstract int |
IdRepo.addListener(SSOToken token,
IdRepoListener listener)
Adds a listener for changes in the repository
|
void |
AMIdentity.addMember(AMIdentity identity) |
void |
AMIdentity.addMembers(Set<AMIdentity> identities) |
abstract void |
IdRepo.assignService(SSOToken token,
IdType type,
String name,
String serviceName,
SchemaType stype,
Map<String,Set<String>> attrMap)
This method is used to assign a service to the given identity.
|
void |
AMIdentity.assignService(String serviceName,
Map attributes)
Assigns the service and service related attributes to the identity.
|
boolean |
IdRepo.authenticate(Callback[] credentials)
Returns
true if the data store successfully authenticates
the identity with the provided credentials. |
void |
IdRepo.changePassword(SSOToken token,
IdType type,
String name,
String attrName,
String oldPassword,
String newPassword)
Changes password of identity.
|
void |
AMIdentity.changePassword(String oldPassword,
String newPassword)
Changes password for the identity.
|
abstract String |
IdRepo.create(SSOToken token,
IdType type,
String name,
Map<String,Set<String>> attrMap)
Creates an identity.
|
Set |
AMIdentityRepository.createIdentities(IdType type,
Map identityNamesAndAttrs) |
AMIdentity |
AMIdentityRepository.createIdentity(IdType type,
String idName,
Map attrMap) |
abstract void |
IdRepo.delete(SSOToken token,
IdType type,
String name)
Deletes an identity.
|
void |
AMIdentityRepository.deleteIdentities(IdType type,
Set identities)
Deprecated.
As of release AM 7.1, replaced by
AMIdentityRepository.deleteIdentities(Set) |
void |
AMIdentityRepository.deleteIdentities(Set identities) |
Set |
AMIdentityRepository.getAllowedIdOperations(IdType type) |
Set<String> |
AMIdentity.getAssignableServices()
Returns all services which can be assigned to this entity.
|
Set<String> |
AMIdentity.getAssignedServices()
Returns the set of services already assigned to this identity.
|
abstract Set<String> |
IdRepo.getAssignedServices(SSOToken token,
IdType type,
String name,
Map<String,Set<String>> mapOfServicesAndOCs)
Returns the set of services assigned to this identity.
|
Set<String> |
AMIdentity.getAttribute(String attrName)
Returns the values of the requested attribute.
|
Map |
AMIdentity.getAttributes()
Returns all attributes and values of this identity.
|
Map |
AMIdentity.getAttributes(Set attrNames)
Returns requested attributes and values of this object.
|
abstract Map<String,Set<String>> |
IdRepo.getAttributes(SSOToken token,
IdType type,
String name)
Returns all attributes and values of name object
|
abstract Map<String,Set<String>> |
IdRepo.getAttributes(SSOToken token,
IdType type,
String name,
Set<String> attrNames)
Returns requested attributes and values of name object.
|
Map |
AMIdentity.getBinaryAttributes(Set attrNames)
Returns requested attributes and values of this object.
|
abstract Map<String,byte[][]> |
IdRepo.getBinaryAttributes(SSOToken token,
IdType type,
String name,
Set<String> attrNames)
Returns requested binary attributes as an array of bytes.
|
abstract Map<String,byte[][]> |
IdRepo.getBinaryServiceAttributes(SSOToken token,
IdType type,
String name,
String serviceName,
Set<String> attrNames)
Returns the requested binary attribute values of the service attributes
as an array of bytes.
|
String |
IdRepo.getFullyQualifiedName(SSOToken token,
IdType type,
String name)
Returns the fully qualified name for the identity.
|
static AMIdentity |
IdUtils.getIdentity(SSOToken token) |
static AMIdentity |
IdUtils.getIdentity(SSOToken token,
String univId) |
Set |
AMIdentity.getMembers(IdType mtype)
Return all members of a given identity type of this identity as a Set of
AMIdentity objects.
|
abstract Set<String> |
IdRepo.getMembers(SSOToken token,
IdType type,
String name,
IdType membersType)
Returns the memberships of an identity.
|
Set |
AMIdentity.getMemberships(IdType mtype)
Returns the set of identities that this identity belongs to.
|
abstract Set<String> |
IdRepo.getMemberships(SSOToken token,
IdType type,
String name,
IdType membershipType)
Returns the memberships of an identity.
|
Optional<String> |
IdRepo.getObjectId(IdType type,
String name)
Returns an identifier for an identity which can be used as a reference in audit logs.
|
AMIdentity |
AMIdentityRepository.getRealmIdentity() |
abstract Map<String,Set<String>> |
IdRepo.getServiceAttributes(SSOToken token,
IdType type,
String name,
String serviceName,
Set<String> attrNames)
Returns the attribute values of the service attributes.
|
Map<String,Set<String>> |
AMIdentity.getServiceAttributes(String serviceName)
Returns attributes related to a service, if the service is assigned to
the identity.
|
Map |
AMIdentity.getServiceAttributesAscending(String serviceName)
Returns attributes related to a service, if the service is assigned
to the identity.
|
Set |
AMIdentityRepository.getSupportedIdTypes() |
void |
IdRepo.initialize(Map<String,Set<String>> configParams)
Initialization paramters as configred for a given plugin.
|
boolean |
AMIdentity.isActive()
If there is a status attribute configured, then verifies if the identity
is active and returns true.
|
boolean |
IdRepo.isActive(SSOToken token,
IdType type,
String name)
Returns true if the
name object is active. |
boolean |
AMIdentity.isExists()
This method determines if the identity exists and returns true or false.
|
abstract boolean |
IdRepo.isExists(SSOToken token,
IdType type,
String name)
Returns true if the
name object exists in the data store. |
boolean |
AMIdentity.isMember(AMIdentity identity)
Verifies if this identity is a member of the identity being passed.
|
abstract void |
IdRepo.modifyMemberShip(SSOToken token,
IdType type,
String name,
Set<String> members,
IdType membersType,
int operation)
Modify membership of the identity.
|
abstract void |
IdRepo.modifyService(SSOToken token,
IdType type,
String name,
String serviceName,
SchemaType sType,
Map<String,Set<String>> attrMap)
Modifies the attribute values of the service attributes.
|
void |
AMIdentity.modifyService(String serviceName,
Map attrMap)
Set attributes related to a specific service.
|
void |
AMIdentity.removeAttributes(Set attrNames)
Removes the attributes from the identity entry.
|
abstract void |
IdRepo.removeAttributes(SSOToken token,
IdType type,
String name,
Set<String> attrNames)
Removes the attributes from the identity.
|
void |
AMIdentity.removeMember(AMIdentity identity) |
void |
AMIdentity.removeMembers(Set<AMIdentity> identities) |
void |
AMIdentity.removeServiceAttributes(String serviceName,
Set attrNames)
Removes attributes value related to a specific service by
setting it to empty.
|
abstract RepoSearchResults |
IdRepo.search(SSOToken token,
IdType type,
CrestQuery crestQuery,
int maxTime,
int maxResults,
Set<String> returnAttrs,
boolean returnAllAttrs,
int filterOp,
Map<String,Set<String>> avPairs,
boolean recursive)
Search for specific type of identities using a CrestQuery object instead of a string.
|
IdSearchResults |
AMIdentityRepository.searchIdentities(IdType type,
String pattern,
IdSearchControl ctrl) |
void |
AMIdentity.setActiveStatus(boolean active)
If there is a status attribute configured, then set its status to
true or activated state if the parameter active is true.
|
abstract void |
IdRepo.setActiveStatus(SSOToken token,
IdType type,
String name,
boolean active)
Sets the object's status to
active . |
void |
AMIdentity.setAttributes(Map attrMap)
Sets the values of attributes.
|
abstract void |
IdRepo.setAttributes(SSOToken token,
IdType type,
String name,
Map<String,Set<String>> attributes,
boolean isAdd)
Set the values of attributes of the identity.
|
void |
AMIdentity.setBinaryAttributes(Map attrMap)
Set the values of binary attributes.
|
abstract void |
IdRepo.setBinaryAttributes(SSOToken token,
IdType type,
String name,
Map<String,byte[][]> attributes,
boolean isAdd)
Set the values of binary attributes the identity.
|
void |
IdRepoListener.setServiceAttributes(String sName,
Map attrs)
Stores service's dynamic attributes within the IdRepo plugin
configuration.
|
void |
AMIdentity.store()
Stores the attributes of the object.
|
abstract void |
IdRepo.unassignService(SSOToken token,
IdType type,
String name,
String serviceName,
Map<String,Set<String>> attrMap)
If the service is already assigned to the identity then
this method unassigns the service and removes the related
attributes from the entry.
|
void |
AMIdentity.unassignService(String serviceName)
Removes a service from the identity.
|
Constructor and Description |
---|
PasswordPolicyException(IdRepoException e)
Create a password policy exception from an id repo exception.
|
PasswordPolicyException(IdRepoException e,
Object[] args)
Create a password policy exception from an id repo exception.
|
Constructor and Description |
---|
AMIdentity(SSOToken ssotoken) |
AMIdentity(SSOToken ssotoken,
String universalId) |
AMIdentityRepository(SSOToken ssotoken,
String realmName)
Deprecated.
in 13.0.0, use
AMIdentityRepository.AMIdentityRepository(String, com.iplanet.sso.SSOToken) instead |
Copyright © 2010-2018, ForgeRock All Rights Reserved.