Uses of Class
com.sun.identity.idm.IdRepoException
-
Packages that use IdRepoException Package Description com.sun.identity.idm Provides classes for accessing the Identity Repository interfaces.org.forgerock.am.identity.application org.forgerock.am.identity.domain org.forgerock.am.identity.persistence -
-
Uses of IdRepoException in com.sun.identity.idm
Subclasses of IdRepoException in com.sun.identity.idm Modifier and Type Class Description classIdRepoDuplicateObjectExceptionAn exception type thrown when anIdRepois asked to create an object with a name that is already used.classIdRepoFatalExceptionThe exception class whose instance is thrown if there is any error during the operation of objects of thecom.sun.identity.smspackage.classIdRepoUnsupportedOpExceptionThe exception class whose instance is thrown if there is any error during the operation of objects of thecom.sun.identity.smspackage.classPasswordPolicyExceptionThe exception class whose instance is thrown if there is any error related with password issue.Methods in com.sun.identity.idm that throw IdRepoException Modifier and Type Method Description abstract intIdRepo. addListener(SSOToken token, IdRepoListener listener)Adds a listener for changes in the repositoryvoidAMIdentity. addMember(AMIdentity identity)Adds the passed identity as a member of this identity.voidAMIdentity. addMembers(Set<AMIdentity> identities)Adds the passed identities as members of this identity.voidAMIdentity. assignService(String serviceName, org.forgerock.openam.sm.ConfigurationAttributes attributes)Assigns the service and service related attributes to the identity.abstract voidIdRepo. 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.booleanIdRepo. authenticate(Callback[] credentials)Returnstrueif the data store successfully authenticates the identity with the provided credentials.voidAMIdentity. changePassword(String oldPassword, String newPassword)Changes password for the identity.voidIdRepo. changePassword(SSOToken token, IdType type, String name, String attrName, String oldPassword, String newPassword)Changes password of identity.abstract StringIdRepo. create(SSOToken token, IdType type, String name, Map<String,Set<String>> attrMap)Creates an identity.Set<AMIdentity>AMIdentityRepository. createIdentities(IdType type, Map<String,Map<?,?>> identityNamesAndAttrs)Create a set ofAMIdentitys.AMIdentityAMIdentityRepository. createIdentity(IdType type, String idName, Map attrMap)Create anAMIdentityobject.abstract voidIdRepo. delete(SSOToken token, IdType type, String name)Deletes an identity.voidAMIdentityRepository. deleteIdentities(IdType type, Set identities)Delete a set of identities byIdType.voidAMIdentityRepository. deleteIdentities(Set<AMIdentity> identities)Delete a set ofAMIdentitys.SetAMIdentityRepository. getAllowedIdOperations(IdType type)Get allowed identity operations.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.MapAMIdentity. getAttributes()Returns all attributes and values of this identity.MapAMIdentity. getAttributes(Set<String> 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 objectabstract Map<String,Set<String>>IdRepo. getAttributes(SSOToken token, IdType type, String name, Set<String> attrNames)Returns requested attributes and values of name object.MapAMIdentity. 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.StringIdRepo. getFullyQualifiedName(SSOToken token, IdType type, String name)Returns the fully qualified name for the identity.static AMIdentityIdUtils. getIdentity(SSOToken token)static AMIdentityIdUtils. getIdentity(SSOToken token, String univId)Set<AMIdentity>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>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.AMIdentityAMIdentityRepository. getRealmIdentity()Get the realmAMIdentityobject.Map<String,Set<String>>AMIdentity. getServiceAttributes(String serviceName)Returns attributes related to a service, if the service is assigned to the identity.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.MapAMIdentity. getServiceAttributesAscending(String serviceName)Returns attributes related to a service, if the service is assigned to the identity.SetAMIdentityRepository. getSupportedIdTypes()Get supported identity types.voidIdRepo. initialize(Map<String,Set<String>> configParams)Initialization paramters as configred for a given plugin.booleanAMIdentity. isActive()If there is a status attribute configured, then verifies if the identity is active and returns true.booleanIdRepo. isActive(SSOToken token, IdType type, String name)Returns true if thenameobject is active.booleanAMIdentity. isExists()This method determines if the identity exists and returns true or false.abstract booleanIdRepo. isExists(SSOToken token, IdType type, String name)Returns true if thenameobject exists in the data store.booleanAMIdentity. isMember(UniversalId universalId)Verifies if this identity is a member of the identity being passed.abstract voidIdRepo. modifyMemberShip(SSOToken token, IdType type, String name, Set<String> members, IdType membersType, int operation)Modify membership of the identity.voidAMIdentity. modifyService(String serviceName, org.forgerock.openam.sm.ConfigurationAttributes attrMap)Set attributes related to a specific service.abstract voidIdRepo. modifyService(SSOToken token, IdType type, String name, String serviceName, SchemaType sType, Map<String,Set<String>> attrMap)Modifies the attribute values of the service attributes.voidAMIdentity. removeAttributes(Set<String> attrNames)Removes the attributes from the identity entry.abstract voidIdRepo. removeAttributes(SSOToken token, IdType type, String name, Set<String> attrNames)Removes the attributes from the identity.voidAMIdentity. removeMember(AMIdentity identity)Removes the passed identity as a member of this identity.voidAMIdentity. removeMembers(Set<AMIdentity> identities)Removes the passed identities as members of this identity.voidAMIdentity. removeServiceAttributes(String serviceName, Set<String> attrNames)Removes attributes value related to a specific service by setting it to empty.abstract com.sun.identity.idm.RepoSearchResultsIdRepo. search(SSOToken token, IdType type, org.forgerock.openam.utils.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.IdSearchResultsAMIdentityRepository. searchIdentities(IdType type, String pattern, IdSearchControl ctrl)Search for identities of certain types from each plugin and returns a combined result.voidAMIdentity. 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 voidIdRepo. setActiveStatus(SSOToken token, IdType type, String name, boolean active)Sets the object's status toactive.voidAMIdentity. setAttributes(Map attrMap)Sets the values of attributes.abstract voidIdRepo. setAttributes(SSOToken token, IdType type, String name, Map<String,Set<String>> attributes, boolean isAdd)Set the values of attributes of the identity.voidAMIdentity. setBinaryAttributes(Map attrMap)Set the values of binary attributes.abstract voidIdRepo. setBinaryAttributes(SSOToken token, IdType type, String name, Map<String,byte[][]> attributes, boolean isAdd)Set the values of binary attributes the identity.voidIdRepoListener. setServiceAttributes(String sName, Map attrs)Stores service's dynamic attributes within the IdRepo plugin configuration.voidAMIdentity. store()Stores the attributes of the object.voidAMIdentity. unassignService(String serviceName)Removes a service from the identity.abstract voidIdRepo. 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.Constructors in com.sun.identity.idm with parameters of type IdRepoException Constructor 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.Constructors in com.sun.identity.idm that throw IdRepoException Constructor Description AMIdentity(SSOToken token)Constructs a newAMIdentityinstance from the passed token.AMIdentity(SSOToken token, String universalId)Constructs a newAMIdentityinstance from the passed universal ID.AMIdentityRepository(SSOToken ssoToken, String realmName)Deprecated.Use the other constructorAMIdentityRepository(String, SSOToken) -
Uses of IdRepoException in org.forgerock.am.identity.application
Methods in org.forgerock.am.identity.application that throw IdRepoException Modifier and Type Method Description voidIdentityService. addMember(Identity parent, UniversalId universalId)Adds the passed identity as a member of this identity.voidIdentityService. addMembers(Identity parent, Set<UniversalId> identities)Adds the passed identities as members of this identity.voidLegacyIdentityServiceStore. assignService(Identity identity, String serviceName, org.forgerock.openam.sm.ConfigurationAttributes attributes)Assigns the service and service related attributes to the identity.voidIdentityService. changePassword(Identity identity, String oldPassword, String newPassword)Changes password for the identity.voidIdRepoService. deleteIdentity(Realm realm, SSOToken ssoToken, IdType idType, String resourceId)Deletes an identity from the repository.Set<AMIdentity>LegacyIdentityService. findActiveIdentities(Realm realm, IdType idType, Map<String,Set<String>> searchAttributes, IdSearchOpModifier searchModifier)Searches for AM identities with the given attributes in the given realm.Optional<AMIdentity>LegacyIdentityService. findActiveIdentity(Realm realm, IdType idType, Map<String,Set<String>> searchAttributes)Searches for an AM identity with the given attributes in the given realm.AMIdentityLegacyIdentityService. getAmIdentity(SSOToken token, String identityName, IdType idType, String realm)Create anAMIdentityusing the specified information.Set<String>LegacyIdentityServiceStore. getAssignableServices(Identity identity)Returns all services which can be assigned to this entity.Set<String>LegacyIdentityServiceStore. getAssignedServices(Identity identity)Returns the set of services already assigned to this identity.Map<String,byte[][]>IdentityService. getBinaryAttributes(Identity identity, Set<String> attrNames)Returns requested attributes and values of this object.StringLegacyIdentityService. getIdentityUniversalId(String subject, String realmPath)Convert an identity subject to anAMIdentityuniversal id.Set<AMIdentity>IdentityService. getMembers(Identity identity, IdType mtype)Return all members of a given identity type of this identity as a Set of Identity objects.Set<AMIdentity>IdentityService. getMemberships(Identity identity, IdType mtype)Returns the set of identities that this identity belongs to.Map<String,Map<String,Set<String>>>IdRepoService. getRepoSearchResultsAttributes(Realm realm, SSOToken ssoToken, IdType idType)Gets a repository search results attributes.Map<String,Set<String>>LegacyIdentityServiceStore. getServiceAttributes(Identity identity, String serviceName)Returns attributes related to a service, if the service is assigned to the identity.Map<String,Set<String>>LegacyIdentityServiceStore. getServiceAttributesAscending(Identity identity, String serviceName)Returns attributes related to a service, if the service is assigned to the identity.IdTypeIdTypeService. getType(String type)Returns anIdTypegiven a type.StringLegacyIdentityService. getUniversalId(String identityName, IdType idType, String realm)Determines the universal ID of the user based on the provided details.static StringUsernameExtractor. getUsername(String name)Deprecated.Returns the username when given a string which may be a username, universal ID, or special user DN.booleanIdentityService. isActive(Identity identity)If there is a status attribute configured, then verifies if the identity is active and returns true.booleanIdentityService. isMember(Identity identity, UniversalId universalId)Verifies if this identity is a member of the identity being passed.voidLegacyIdentityServiceStore. modifyService(Identity identity, String serviceName, org.forgerock.openam.sm.ConfigurationAttributes attrMap)Set attributes related to a specific service.IdentityService.IdentityAttributeUpdaterIdentityService.IdentityAttributeUpdater. removeAttributes(Set<String> attrNames)Removes the attributes from the identity entry.voidIdentityService. removeMember(Identity parent, UniversalId universalId)Removes the passed identity as a member of this identity.voidIdentityService. removeMembers(Identity parent, Set<UniversalId> identities)Removes the passed identities as members of this identity.voidLegacyIdentityServiceStore. removeServiceAttributes(Identity identity, String serviceName, Set<String> attrNames)Removes attributes value related to a specific service by setting it to empty.voidIdentityService. setActiveStatus(Identity identity, boolean active)If there is a status attribute configured, then set its status to true or activated state if the parameter active is true.IdentityService.IdentityAttributeUpdaterIdentityService.IdentityAttributeUpdater. setAttributes(Map attrMap)Sets the values of attributes.IdentityService.IdentityAttributeUpdaterIdentityService.IdentityAttributeUpdater. setBinaryAttributes(Map attrMap)Set the values of binary attributes.voidIdentityService.IdentityAttributeUpdater. store()Stores the attributes of the object.voidLegacyIdentityServiceStore. unassignService(Identity identity, String serviceName)Removes a service from the identity. -
Uses of IdRepoException in org.forgerock.am.identity.domain
Methods in org.forgerock.am.identity.domain that throw IdRepoException Modifier and Type Method Description Set<String>Identity. getAttribute(String attrName)Returns the values of the requested attribute.Map<String,Set<String>>Identity. getAttributes()Returns all attributes and values of this identity.Map<String,Set<String>>Identity. getAttributes(Set<String> attrNames)Returns requested attributes and values of this object.booleanIdentity. isExists()This method determines if the identity exists and returns true or false.static booleanUniversalId. isUniversalIdOrSpecialUserDn(Dn dn)Check if dn is a universalId or a special user dn.static UniversalIdUniversalId. of(SSOToken token)Creates a newUniversalIdinstance based of the passed token.static UniversalIdUniversalId. of(String name, IdType type, Realm realm)Creates a newUniversalIdinstance based of the passed individual parts that represent a unique identity.static UniversalIdUniversalId. of(String name, IdType type, Dn realmDn)Creates a newUniversalIdinstance based of the passed individual parts that represent a unique identity.static UniversalIdUniversalId. of(Dn universalId)Creates a newUniversalIdinstance based of the passed universal ID. -
Uses of IdRepoException in org.forgerock.am.identity.persistence
Methods in org.forgerock.am.identity.persistence that throw IdRepoException Modifier and Type Method Description booleanIdentityStore. authenticate(IdType idType, Callback[] credentials)Non-javadoc, non-public methods Returnstrueif the data store has successfully authenticated the identity with the provided credentials.booleanIdentityStore. authenticate(Callback[] credentials)Non-javadoc, non-public methods Returnstrueif the data store has successfully authenticated the identity with the provided credentials.AMIdentityIdentityStore. createIdentity(IdType type, String idName, Map<String,Set<String>> attrMap)Create anAMIdentityobject.AMIdentityIdentityStore. createWithoutValidatingAttributes(SSOToken token, IdType type, String name, Map<String,Set<String>> attrs, String orgName)Create a new identity without validating the given attributes.voidIdentityStore. deleteIdentity(AMIdentity identity)Delete anAMIdentitys.Optional<AMIdentity>IdentityStore. findIdentityByUsername(String username, IdType type)Searches for the identity using the username.Optional<AMIdentity>IdentityStore. findUserByUsernameOrAlias(String username, Set<String> userSearchAttributes)Searches for the user using the username, then uses the search attributes if nothing is found.Set<IdOperation>IdentityStore. getAllowedIdOperations(IdType type)Get allowed identity operations.AMIdentityIdentityStore. getRealmIdentity()Get the realmAMIdentityobject.IdSearchResultsIdentityStore. getSpecialIdentities(SSOToken token, IdType type, String orgName)Return the special identities for this realm for a given type.Set<IdType>IdentityStore. getSupportedIdTypes()Get supported identity types.IdSearchResultsIdentityStore. searchIdentities(IdType type, String pattern, IdSearchControl ctrl)Search for identities of certain types from each plugin and returns a combined result.IdSearchResultsIdentityStore. searchIdentities(IdType type, org.forgerock.openam.utils.CrestQuery crestQuery, IdSearchControl ctrl)Searches for identities of certain types from each plugin and returns a combined result Note: The AMIdentity objects representing IdType.REALM can be used for services related operations only.IdSearchResultsIdentityStore. searchIdentitiesByUsername(IdType type, String pattern, IdSearchControl ctrl)Search for a single identity based on the identity of certain types from each plugin.
-