public class UserManager extends IGFObjectManager
| Constructor and Description |
|---|
UserManager()
UserManager default Constructor.
|
UserManager(java.util.Map<java.lang.String,java.lang.Object> properties)
UserManager is initialized with the CARML file, idxuserrole.xml
|
UserManager(java.lang.String carmlFile, java.util.Map<java.lang.String,java.lang.Object> properties)
UserManager constructor initialized with given CARML file
|
UserManager(java.net.URI carmlLoc, java.util.Map<java.lang.String,java.lang.Object> properties)
UserManager constructor initialized with given CARML URI
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
exists(User subj) |
boolean |
exists(User subj, java.util.Map<java.lang.String,java.lang.Object> appCtxMap)
Returns true if the User exists in Attribute Authority
|
static java.lang.String |
getDefaultCarmlFile()
Get Default CARML declaration file
|
java.util.List<User> |
getManagementChain(User user, int nLevels, java.lang.String manager, java.lang.String title) |
java.util.List<User> |
getManagementChain(User user, int nLevels, java.lang.String manager, java.lang.String title, java.util.Map<java.lang.String,java.lang.Object> appCtxMap)
Get Management Chain
|
java.util.List<User> |
getReportees(User user, int nLevels) |
java.util.List<User> |
getReportees(User user, int nLevels, java.util.Map<java.lang.String,java.lang.Object> appCtxMap)
Get Reportees
|
User |
getUser(javax.servlet.http.HttpServletRequest request) |
User |
getUser(javax.servlet.http.HttpServletRequest request, java.util.Map<java.lang.String,java.lang.Object> appCtxMap)
Get user profile Retrieves User from Attribute Authority for a given HTTPServletRequest
|
User |
getUser(IPrincipalIdentifier principal) |
User |
getUser(IPrincipalIdentifier principal, java.util.List<java.lang.String> reqProps, java.util.Map<java.lang.String,java.lang.Object> appCtxMap)
Get user profile Retrieves User from Attribute Authority for a given Principal Identifier
|
User |
getUser(IPrincipalIdentifier principal, java.util.Map<java.lang.String,java.lang.Object> appCtxMap) |
User |
getUser(java.lang.String subjectID) |
User |
getUser(java.lang.String subjectID, java.util.List<java.lang.String> reqProps, java.util.Map<java.lang.String,java.lang.Object> appCtxMap)
Get user profile Retrieves User from Attribute Authority for given SubjectID.
|
User |
getUser(java.lang.String subjectID, java.util.Map<java.lang.String,java.lang.Object> appCtxMap) |
boolean |
isCreateUserSupported()
Check if create User is supported
|
boolean |
isDropUserSupported()
Check if drop User is supported
|
boolean |
isManager(User user, User manager, boolean direct) |
boolean |
isManager(User user, User manager, boolean direct, java.util.Map<java.lang.String,java.lang.Object> appCtxMap)
Return true if user2 is manager of user1
|
boolean |
isModifyUserSupported()
Check if modify User is supported
|
User |
searchUser(java.lang.String loginid) |
User |
searchUser(java.lang.String loginid, java.util.List<java.lang.String> reqProps, java.util.Map<java.lang.String,java.lang.Object> appCtxMap)
Locate user Profile Finds User from Attribute Authority for given SubjectID.
|
User |
searchUser(java.lang.String loginid, java.util.Map<java.lang.String,java.lang.Object> appCtxMap) |
User |
searchUserByGuid(java.lang.String guid) |
User |
searchUserByGuid(java.lang.String guid, java.util.List<java.lang.String> reqProps, java.util.Map<java.lang.String,java.lang.Object> appCtxMap)
Locate user Profile Finds User from Attribute Authority for given SubjectID.
|
User |
searchUserByGuid(java.lang.String guid, java.util.Map<java.lang.String,java.lang.Object> appCtxMap) |
java.util.List<User> |
searchUsers(java.util.List<PropertyFilterValue> attrFiltersList) |
java.util.List<User> |
searchUsers(java.util.List<PropertyFilterValue> attrFiltersList, java.util.Map<java.lang.String,java.lang.Object> appCtxMap)
Returns all Users matching given filter condition Searches the Attribute Authority and returns list of Digital Entities matching the given filter condition.
|
java.util.List<User> |
searchUsers(SearchFilter filter, java.util.List<java.lang.String> reqProps, java.util.Map<java.lang.String,java.lang.Object> appCtxMap)
Returns all Users matching given filter condition Searches the Attribute Authority and returns list of Digital Entities matching the given filter condition.
|
java.util.List<User> |
searchUsersbyAllAttr(java.util.List<PropertyFilterValue> attrFiltersList) |
java.util.List<User> |
searchUsersbyAllAttr(java.util.List<PropertyFilterValue> attrFiltersList, java.util.Map<java.lang.String,java.lang.Object> appCtxMap)
Returns all Users matching given 'AND' filter condition Searches the Attribute Authority and returns list of Digital Entities matching the given filter condition.
|
java.util.List<User> |
searchUsersbyAllAttr(SearchFilter filter, java.util.List<java.lang.String> reqProps, java.util.Map<java.lang.String,java.lang.Object> appCtxMap)
Returns all Users matching given 'AND' filter condition Searches the Attribute Authority and returns list of Digital Entities matching the given filter condition.
|
SearchResults<User> |
searchUsersbyAllAttrbyPage(java.util.List<PropertyFilterValue> attrFiltersList) |
SearchResults<User> |
searchUsersbyAllAttrbyPage(java.util.List<PropertyFilterValue> attrFiltersList, java.util.Map<java.lang.String,java.lang.Object> appCtxMap)
Returns all Users matching given 'AND' filter condition Searches the Attribute Authority and returns list of Digital Entities matching the given filter condition.
|
SearchResults<User> |
searchUsersbyAllAttrbyPage(SearchFilter filter, java.util.List<java.lang.String> reqProps, java.util.Map<java.lang.String,java.lang.Object> appCtxMap)
Returns all Users matching given 'AND' filter condition Searches the Attribute Authority and returns list of Digital Entities matching the given filter condition.
|
java.util.List<User> |
searchUsersbyAnyAttr(java.util.List<PropertyFilterValue> attrFiltersList) |
java.util.List<User> |
searchUsersbyAnyAttr(java.util.List<PropertyFilterValue> attrFiltersList, java.util.Map<java.lang.String,java.lang.Object> appCtxMap)
Returns all Users matching given 'OR' filter condition Searches the Attribute Authority and returns list of Digital Entities matching the given filter condition.
|
java.util.List<User> |
searchUsersbyAnyAttr(SearchFilter filter, java.util.List<java.lang.String> reqProps, java.util.Map<java.lang.String,java.lang.Object> appCtxMap)
Returns all Users matching given 'OR' filter condition Searches the Attribute Authority and returns list of Digital Entities matching the given filter condition.
|
SearchResults<User> |
searchUsersbyAnyAttrbyPage(java.util.List<PropertyFilterValue> attrFiltersList) |
SearchResults<User> |
searchUsersbyAnyAttrbyPage(java.util.List<PropertyFilterValue> attrFiltersList, java.util.Map<java.lang.String,java.lang.Object> appCtxMap)
Returns all Users matching given 'OR' filter condition Searches the Attribute Authority and returns list of Digital Entities matching the given filter condition.
|
SearchResults<User> |
searchUsersbyAnyAttrbyPage(SearchFilter filter, java.util.List<java.lang.String> reqProps, java.util.Map<java.lang.String,java.lang.Object> appCtxMap)
Returns all Users matching given 'OR' filter condition Searches the Attribute Authority and returns list of Digital Entities matching the given filter condition.
|
SearchResults<User> |
searchUsersbyPage(java.util.List<PropertyFilterValue> attrFiltersList) |
SearchResults<User> |
searchUsersbyPage(java.util.List<PropertyFilterValue> attrFiltersList, java.util.Map<java.lang.String,java.lang.Object> appCtxMap)
Returns all Users matching given filter condition Searches the Attribute Authority and returns list of Digital Entities matching the given filter condition.
|
SearchResults<User> |
searchUsersbyPage(SearchFilter filter, java.util.List<java.lang.String> reqProps, java.util.Map<java.lang.String,java.lang.Object> appCtxMap)
Returns all Users matching given filter condition Searches the Attribute Authority and returns list of Digital Entities matching the given filter condition.
|
dispose, finalize, getAllAttributeNames, getAllAttributeNames, getAllInteractions, getAllInteractions, getAllPredicateNames, getAllPredicateNames, getAllPropertyNames, getAllPropertyNames, getAllRoles, getAllRoles, getAttributeDef, getPredicateDef, getRoleDef, isAttribute, isPredicate, isRolepublic UserManager()
throws java.io.FileNotFoundException,
java.net.URISyntaxException,
java.lang.IllegalAccessException,
IDBeanException
java.io.FileNotFoundException - Thrown when the CARML document cannot be located through the provided URI.java.net.URISyntaxException - Thrown when the referenced external CARML URI is invalidjava.lang.IllegalAccessException - An Exception has occurred with XML parserIDBeanException - General IdentityManagement Exceptionpublic UserManager(java.util.Map<java.lang.String,java.lang.Object> properties)
throws java.io.FileNotFoundException,
java.net.URISyntaxException,
java.lang.IllegalAccessException,
IDBeanException
properties - Map with IdentityBeans parameter valuesjava.io.FileNotFoundException - Thrown when the CARML document cannot be located through the provided URI.java.net.URISyntaxException - Thrown when the referenced external CARML URI is invalidjava.lang.IllegalAccessException - An Exception has occurred with XML parserIDBeanException - General IdentityManagement Exceptionpublic UserManager(java.lang.String carmlFile,
java.util.Map<java.lang.String,java.lang.Object> properties)
throws java.io.FileNotFoundException,
java.net.URISyntaxException,
java.lang.IllegalAccessException,
IDBeanException
carmlFile - CARML file with location from which this User bean has been generatedproperties - Map with IdentityBeans parameter valuesjava.io.FileNotFoundException - Thrown when the CARML document cannot be located through the provided URI.java.net.URISyntaxException - Thrown when the referenced external CARML URI is invalidjava.lang.IllegalAccessException - An Exception has occurred with XML parserIDBeanException - General IdentityManagement Exceptionpublic UserManager(java.net.URI carmlLoc,
java.util.Map<java.lang.String,java.lang.Object> properties)
throws java.io.FileNotFoundException,
IDBeanException,
java.lang.IllegalAccessException
carmlLoc - URI of the CARML file from which this User bean has been generatedproperties - Map with IdentityBeans parameter valuesjava.io.FileNotFoundException - Thrown when the CARML document cannot be located through the provided URI.java.lang.IllegalAccessException - An Exception has occurred with XML parserIDBeanException - General IdentityManagement Exceptionpublic static java.lang.String getDefaultCarmlFile()
public User searchUser(java.lang.String loginid, java.util.List<java.lang.String> reqProps, java.util.Map<java.lang.String,java.lang.Object> appCtxMap) throws IDBeanException, NoSuchSubjectException, SubjectNotUniqueException, InvalidFilterException, ConnectionException, PolicyException
loginid - Unique ID of the User. This attribute is defined as PrimaryKey filter in findInteraction in CARML document.reqProps - List of properties requested to be fetchedappCtxMap - The application context as a hash map will contain Language constraint if any and the Principal user.NoSuchSubjectException - The attribute service could not find a subject within the mapped context to authenticateConnectionException - Occurs when there was a connection error trying to connect to the appropriate attribute authority.PolicyException - Transaction has failed due to policy or consent failureSubjectNotUniqueException - Thrown when the subject or user cannot be uniquely mapped to a single context or is not unique within a context.InvalidFilterException - If an invalid filter or filter value has been specifiedIDBeanException - General IdentityManagement Exceptionpublic User searchUser(java.lang.String loginid, java.util.Map<java.lang.String,java.lang.Object> appCtxMap) throws IDBeanException, NoSuchSubjectException, SubjectNotUniqueException, InvalidFilterException, ConnectionException, PolicyException
public User searchUser(java.lang.String loginid) throws IDBeanException, NoSuchSubjectException, SubjectNotUniqueException, InvalidFilterException, ConnectionException, PolicyException
public User getUser(IPrincipalIdentifier principal, java.util.List<java.lang.String> reqProps, java.util.Map<java.lang.String,java.lang.Object> appCtxMap) throws NoSuchSubjectException, ConnectionException, PolicyException, SubjectNotUniqueException, IDBeanException
principal - Principal Identifier in the Digital SubjectreqProps - List of properties requested to be fetchedappCtxMap - The application context as a hash map will contain Language constraint if any and the Principal user.NoSuchSubjectException - The attribute service could not find a subject within the mapped contextConnectionException - Occurs when there was a connection error trying to connect to the appropriate attribute authority.PolicyException - Transaction has failed due to policy or consent failureSubjectNotUniqueException - Thrown when the subject or user cannot be uniquely mapped to a single context or is not unique within a context.IDBeanException - General IdentityManagement Exceptionpublic User getUser(IPrincipalIdentifier principal, java.util.Map<java.lang.String,java.lang.Object> appCtxMap) throws NoSuchSubjectException, ConnectionException, PolicyException, SubjectNotUniqueException, IDBeanException
public User getUser(IPrincipalIdentifier principal) throws NoSuchSubjectException, ConnectionException, PolicyException, SubjectNotUniqueException, IDBeanException
public User getUser(javax.servlet.http.HttpServletRequest request, java.util.Map<java.lang.String,java.lang.Object> appCtxMap) throws NoSuchSubjectException, ConnectionException, PolicyException, SubjectNotUniqueException, IDBeanException
request - HttpServerletRequest object to be parsed for a Subject contextappCtxMap - The application context as a hash map will contain Language constraint if any and the Principal user.NoSuchSubjectException - The attribute service could not find a subject within the mapped contextConnectionException - Occurs when there was a connection error trying to connect to the appropriate attribute authority.PolicyException - Transaction has failed due to policy or consent failureSubjectNotUniqueException - Thrown when the subject or user cannot be uniquely mapped to a single context or is not unique within a context.IDBeanException - General IdentityManagement Exceptionpublic User getUser(javax.servlet.http.HttpServletRequest request) throws NoSuchSubjectException, ConnectionException, PolicyException, SubjectNotUniqueException, IDBeanException
public User getUser(java.lang.String subjectID, java.util.List<java.lang.String> reqProps, java.util.Map<java.lang.String,java.lang.Object> appCtxMap) throws IDBeanException, NoSuchSubjectException, SubjectNotUniqueException, InvalidFilterException, ConnectionException, PolicyException
subjectID - ID of the subject that uniquely identifies User from Attribute Authority. This attribute is defined as PrimaryKey filter in findInteraction in CARML document.reqProps - List of properties requested to be fetchedappCtxMap - The application context as a hash map will contain Language constraint if any and the Principal user.NoSuchSubjectException - The attribute service could not find a subject within the mapped context to authenticateConnectionException - Occurs when there was a connection error trying to connect to the appropriate attribute authority.PolicyException - Transaction has failed due to policy or consent failureSubjectNotUniqueException - Thrown when the subject or user cannot be uniquely mapped to a single context or is not unique within a context.InvalidFilterException - If an invalid filter or filter value has been specifiedIDBeanException - General IdentityManagement Exceptionpublic User getUser(java.lang.String subjectID, java.util.Map<java.lang.String,java.lang.Object> appCtxMap) throws IDBeanException, NoSuchSubjectException, SubjectNotUniqueException, InvalidFilterException, ConnectionException, PolicyException
public User getUser(java.lang.String subjectID) throws IDBeanException, NoSuchSubjectException, SubjectNotUniqueException, InvalidFilterException, ConnectionException, PolicyException
public User searchUserByGuid(java.lang.String guid, java.util.List<java.lang.String> reqProps, java.util.Map<java.lang.String,java.lang.Object> appCtxMap) throws IDBeanException, NoSuchSubjectException, SubjectNotUniqueException, InvalidFilterException, ConnectionException, PolicyException
guid - Unique ID of the User. This attribute is defined as PrimaryKey filter in findInteraction in CARML document.reqProps - List of properties requested to be fetchedappCtxMap - The application context as a hash map will contain Language constraint if any and the Principal user.NoSuchSubjectException - The attribute service could not find a subject within the mapped context to authenticateConnectionException - Occurs when there was a connection error trying to connect to the appropriate attribute authority.PolicyException - Transaction has failed due to policy or consent failureSubjectNotUniqueException - Thrown when the subject or user cannot be uniquely mapped to a single context or is not unique within a context.InvalidFilterException - If an invalid filter or filter value has been specifiedIDBeanException - General IdentityManagement Exceptionpublic User searchUserByGuid(java.lang.String guid, java.util.Map<java.lang.String,java.lang.Object> appCtxMap) throws IDBeanException, NoSuchSubjectException, SubjectNotUniqueException, InvalidFilterException, ConnectionException, PolicyException
public User searchUserByGuid(java.lang.String guid) throws IDBeanException, NoSuchSubjectException, SubjectNotUniqueException, InvalidFilterException, ConnectionException, PolicyException
public java.util.List<User> searchUsers(java.util.List<PropertyFilterValue> attrFiltersList, java.util.Map<java.lang.String,java.lang.Object> appCtxMap) throws IDBeanException, ConnectionException, PolicyException, NoSuchSubjectException, SubjectNotUniqueException, InvalidFilterException
attrFiltersList - List of attributes to be used as filter for searching the matching digital subjects. Attributes in the List should exist in searchInteraction in CARML documentappCtxMap - The application context as a hash map will contain Language constraint if any and the Principal user.NoSuchSubjectException - The attribute service could not find a subject within the mapped context to authenticateConnectionException - Occurs when there was a connection error trying to connect to the appropriate attribute authority.PolicyException - When the the transaction has failed due to policy or consent failureSubjectNotUniqueException - When the subject or user cannot be uniquely mapped to a single context or is not unique within a contextInvalidFilterException - If an invalid filter or filter value has been specifiedIDBeanException - General IdentityManagement Exceptionpublic java.util.List<User> searchUsers(java.util.List<PropertyFilterValue> attrFiltersList) throws IDBeanException, ConnectionException, PolicyException, NoSuchSubjectException, SubjectNotUniqueException, InvalidFilterException
public java.util.List<User> searchUsers(SearchFilter filter, java.util.List<java.lang.String> reqProps, java.util.Map<java.lang.String,java.lang.Object> appCtxMap) throws IDBeanException, ConnectionException, PolicyException, NoSuchSubjectException, SubjectNotUniqueException, InvalidFilterException
filter - Dynamic Search Filter to be used as filter for finding the matching entity. Attributes used in the SearchFilter should exist in searchInteraction's dynamic filter in CARML documentreqProps - List of properties requested to be fetchedappCtxMap - The application context as a hash map will contain Language constraint if any and the Principal user.NoSuchSubjectException - The attribute service could not find a subject within the mapped context to authenticateConnectionException - Occurs when there was a connection error trying to connect to the appropriate attribute authority.PolicyException - When the the transaction has failed due to policy or consent failureSubjectNotUniqueException - When the subject or user cannot be uniquely mapped to a single context or is not unique within a contextInvalidFilterException - If an invalid filter or filter value has been specifiedIDBeanException - General IdentityManagement Exceptionpublic java.util.List<User> searchUsersbyAllAttr(java.util.List<PropertyFilterValue> attrFiltersList, java.util.Map<java.lang.String,java.lang.Object> appCtxMap) throws IDBeanException, ConnectionException, PolicyException, NoSuchSubjectException, SubjectNotUniqueException, InvalidFilterException
attrFiltersList - List of attributes to be used as filter for searching the matching digital subjects. Attributes in the List should exist in searchInteraction in CARML documentappCtxMap - The application context as a hash map will contain Language constraint if any and the Principal user.NoSuchSubjectException - The attribute service could not find a subject within the mapped context to authenticateConnectionException - Occurs when there was a connection error trying to connect to the appropriate attribute authority.PolicyException - When the the transaction has failed due to policy or consent failureSubjectNotUniqueException - When the subject or user cannot be uniquely mapped to a single context or is not unique within a contextInvalidFilterException - If an invalid filter or filter value has been specifiedIDBeanException - General IdentityManagement Exceptionpublic java.util.List<User> searchUsersbyAllAttr(java.util.List<PropertyFilterValue> attrFiltersList) throws IDBeanException, ConnectionException, PolicyException, NoSuchSubjectException, SubjectNotUniqueException, InvalidFilterException
public java.util.List<User> searchUsersbyAllAttr(SearchFilter filter, java.util.List<java.lang.String> reqProps, java.util.Map<java.lang.String,java.lang.Object> appCtxMap) throws IDBeanException, ConnectionException, PolicyException, NoSuchSubjectException, SubjectNotUniqueException, InvalidFilterException
filter - Dynamic Search Filter to be used as filter for finding the matching entity. Attributes used in the SearchFilter should exist in searchInteraction's dynamic filter in CARML documentreqProps - List of properties requested to be fetchedappCtxMap - The application context as a hash map will contain Language constraint if any and the Principal user.NoSuchSubjectException - The attribute service could not find a subject within the mapped context to authenticateConnectionException - Occurs when there was a connection error trying to connect to the appropriate attribute authority.PolicyException - When the the transaction has failed due to policy or consent failureSubjectNotUniqueException - When the subject or user cannot be uniquely mapped to a single context or is not unique within a contextInvalidFilterException - If an invalid filter or filter value has been specifiedIDBeanException - General IdentityManagement Exceptionpublic SearchResults<User> searchUsersbyAllAttrbyPage(java.util.List<PropertyFilterValue> attrFiltersList, java.util.Map<java.lang.String,java.lang.Object> appCtxMap) throws IDBeanException, ConnectionException, PolicyException, NoSuchSubjectException, SubjectNotUniqueException, InvalidFilterException
attrFiltersList - List of attributes to be used as filter for searching the matching digital subjects. Attributes in the List should exist in searchInteraction in CARML documentappCtxMap - The application context as a hash map will contain Language constraint if any and the Principal user.NoSuchSubjectException - The attribute service could not find a subject within the mapped context to authenticateConnectionException - Occurs when there was a connection error trying to connect to the appropriate attribute authority.PolicyException - When the the transaction has failed due to policy or consent failureSubjectNotUniqueException - When the subject or user cannot be uniquely mapped to a single context or is not unique within a contextInvalidFilterException - If an invalid filter or filter value has been specifiedIDBeanException - General IdentityManagement Exceptionpublic SearchResults<User> searchUsersbyAllAttrbyPage(java.util.List<PropertyFilterValue> attrFiltersList) throws IDBeanException, ConnectionException, PolicyException, NoSuchSubjectException, SubjectNotUniqueException, InvalidFilterException
public SearchResults<User> searchUsersbyAllAttrbyPage(SearchFilter filter, java.util.List<java.lang.String> reqProps, java.util.Map<java.lang.String,java.lang.Object> appCtxMap) throws IDBeanException, ConnectionException, PolicyException, NoSuchSubjectException, SubjectNotUniqueException, InvalidFilterException
attrFiltersList - List of attributes to be used as filter for searching the matching digital subjects. Attributes in the List should exist in searchInteraction in CARML documentfilter - Dynamic Search Filter to be used as filter for finding the matching entity. Attributes used in the SearchFilter should exist in searchInteraction's dynamic filter in CARML documentreqProps - List of properties requested to be fetchedappCtxMap - The application context as a hash map will contain Language constraint if any and the Principal user.NoSuchSubjectException - The attribute service could not find a subject within the mapped context to authenticateConnectionException - Occurs when there was a connection error trying to connect to the appropriate attribute authority.PolicyException - When the the transaction has failed due to policy or consent failureSubjectNotUniqueException - When the subject or user cannot be uniquely mapped to a single context or is not unique within a contextInvalidFilterException - If an invalid filter or filter value has been specifiedIDBeanException - General IdentityManagement Exceptionpublic java.util.List<User> searchUsersbyAnyAttr(java.util.List<PropertyFilterValue> attrFiltersList, java.util.Map<java.lang.String,java.lang.Object> appCtxMap) throws IDBeanException, ConnectionException, PolicyException, NoSuchSubjectException, SubjectNotUniqueException, InvalidFilterException
attrFiltersList - List of attributes to be used as filter for searching the matching digital subjects. Attributes in the List should exist in searchInteraction in CARML documentappCtxMap - The application context as a hash map will contain Language constraint if any and the Principal user.NoSuchSubjectException - The attribute service could not find a subject within the mapped context to authenticateConnectionException - Occurs when there was a connection error trying to connect to the appropriate attribute authority.PolicyException - When the the transaction has failed due to policy or consent failureSubjectNotUniqueException - When the subject or user cannot be uniquely mapped to a single context or is not unique within a contextInvalidFilterException - If an invalid filter or filter value has been specifiedIDBeanException - General IdentityManagement Exceptionpublic java.util.List<User> searchUsersbyAnyAttr(java.util.List<PropertyFilterValue> attrFiltersList) throws IDBeanException, ConnectionException, PolicyException, NoSuchSubjectException, SubjectNotUniqueException, InvalidFilterException
public java.util.List<User> searchUsersbyAnyAttr(SearchFilter filter, java.util.List<java.lang.String> reqProps, java.util.Map<java.lang.String,java.lang.Object> appCtxMap) throws IDBeanException, ConnectionException, PolicyException, NoSuchSubjectException, SubjectNotUniqueException, InvalidFilterException
filter - Dynamic Search Filter to be used as filter for finding the matching entity. Attributes used in the SearchFilter should exist in searchInteraction's dynamic filter in CARML documentreqProps - List of properties requested to be fetchedappCtxMap - The application context as a hash map will contain Language constraint if any and the Principal user.NoSuchSubjectException - The attribute service could not find a subject within the mapped context to authenticateConnectionException - Occurs when there was a connection error trying to connect to the appropriate attribute authority.PolicyException - When the the transaction has failed due to policy or consent failureSubjectNotUniqueException - When the subject or user cannot be uniquely mapped to a single context or is not unique within a contextInvalidFilterException - If an invalid filter or filter value has been specifiedIDBeanException - General IdentityManagement Exceptionpublic SearchResults<User> searchUsersbyAnyAttrbyPage(java.util.List<PropertyFilterValue> attrFiltersList, java.util.Map<java.lang.String,java.lang.Object> appCtxMap) throws IDBeanException, ConnectionException, PolicyException, NoSuchSubjectException, SubjectNotUniqueException, InvalidFilterException
attrFiltersList - List of attributes to be used as filter for searching the matching digital subjects. Attributes in the List should exist in searchInteraction in CARML documentappCtxMap - The application context as a hash map will contain Language constraint if any and the Principal user.NoSuchSubjectException - The attribute service could not find a subject within the mapped context to authenticateConnectionException - Occurs when there was a connection error trying to connect to the appropriate attribute authority.PolicyException - When the the transaction has failed due to policy or consent failureSubjectNotUniqueException - When the subject or user cannot be uniquely mapped to a single context or is not unique within a contextInvalidFilterException - If an invalid filter or filter value has been specifiedIDBeanException - General IdentityManagement Exceptionpublic SearchResults<User> searchUsersbyAnyAttrbyPage(java.util.List<PropertyFilterValue> attrFiltersList) throws IDBeanException, ConnectionException, PolicyException, NoSuchSubjectException, SubjectNotUniqueException, InvalidFilterException
public SearchResults<User> searchUsersbyAnyAttrbyPage(SearchFilter filter, java.util.List<java.lang.String> reqProps, java.util.Map<java.lang.String,java.lang.Object> appCtxMap) throws IDBeanException, ConnectionException, PolicyException, NoSuchSubjectException, SubjectNotUniqueException, InvalidFilterException
attrFiltersList - List of attributes to be used as filter for searching the matching digital subjects. Attributes in the List should exist in searchInteraction in CARML documentfilter - Dynamic Search Filter to be used as filter for finding the matching entity. Attributes used in the SearchFilter should exist in searchInteraction's dynamic filter in CARML documentreqProps - List of properties requested to be fetchedappCtxMap - The application context as a hash map will contain Language constraint if any and the Principal user.NoSuchSubjectException - The attribute service could not find a subject within the mapped context to authenticateConnectionException - Occurs when there was a connection error trying to connect to the appropriate attribute authority.PolicyException - When the the transaction has failed due to policy or consent failureSubjectNotUniqueException - When the subject or user cannot be uniquely mapped to a single context or is not unique within a contextInvalidFilterException - If an invalid filter or filter value has been specifiedIDBeanException - General IdentityManagement Exceptionpublic SearchResults<User> searchUsersbyPage(java.util.List<PropertyFilterValue> attrFiltersList, java.util.Map<java.lang.String,java.lang.Object> appCtxMap) throws IDBeanException, ConnectionException, PolicyException, NoSuchSubjectException, SubjectNotUniqueException, InvalidFilterException
attrFiltersList - List of attributes to be used as filter for searching the matching digital subjects. Attributes in the List should exist in searchInteraction in CARML documentappCtxMap - The application context as a hash map will contain Language constraint if any and the Principal user.NoSuchSubjectException - The attribute service could not find a subject within the mapped context to authenticateConnectionException - Occurs when there was a connection error trying to connect to the appropriate attribute authority.PolicyException - When the the transaction has failed due to policy or consent failureSubjectNotUniqueException - When the subject or user cannot be uniquely mapped to a single context or is not unique within a contextInvalidFilterException - If an invalid filter or filter value has been specifiedIDBeanException - General IdentityManagement Exceptionpublic SearchResults<User> searchUsersbyPage(java.util.List<PropertyFilterValue> attrFiltersList) throws IDBeanException, ConnectionException, PolicyException, NoSuchSubjectException, SubjectNotUniqueException, InvalidFilterException
public SearchResults<User> searchUsersbyPage(SearchFilter filter, java.util.List<java.lang.String> reqProps, java.util.Map<java.lang.String,java.lang.Object> appCtxMap) throws IDBeanException, ConnectionException, PolicyException, NoSuchSubjectException, SubjectNotUniqueException, InvalidFilterException
attrFiltersList - List of attributes to be used as filter for searching the matching digital subjects. Attributes in the List should exist in searchInteraction in CARML documentfilter - Dynamic Search Filter to be used as filter for finding the matching entity. Attributes used in the SearchFilter should exist in searchInteraction's dynamic filter in CARML documentreqProps - List of properties requested to be fetchedappCtxMap - The application context as a hash map will contain Language constraint if any and the Principal user.NoSuchSubjectException - The attribute service could not find a subject within the mapped context to authenticateConnectionException - Occurs when there was a connection error trying to connect to the appropriate attribute authority.PolicyException - When the the transaction has failed due to policy or consent failureSubjectNotUniqueException - When the subject or user cannot be uniquely mapped to a single context or is not unique within a contextInvalidFilterException - If an invalid filter or filter value has been specifiedIDBeanException - General IdentityManagement Exceptionpublic boolean exists(User subj, java.util.Map<java.lang.String,java.lang.Object> appCtxMap) throws ConnectionException, PolicyException, IDBeanException
subj - Subject to be verified if exists in Attribute AuthorityappCtxMap - The application context as a hash map will contain Language constraint if any and the Principal user.ConnectionExceptionPolicyExceptionIDBeanExceptionpublic boolean exists(User subj) throws ConnectionException, PolicyException, IDBeanException
public boolean isCreateUserSupported()
public boolean isModifyUserSupported()
public boolean isDropUserSupported()
public java.util.List<User> getManagementChain(User user, int nLevels, java.lang.String manager, java.lang.String title, java.util.Map<java.lang.String,java.lang.Object> appCtxMap) throws ConnectionException, PolicyException, SubjectNotUniqueException, IDBeanException, InvalidFilterException
user - User objectnLevels - Maximum number of nested levels. If set to 0, will fetch the matching entries from all nested levelsmanager - manager filter value. Fetches the nested level objects until either the manager filter value matches or reaches the maximum input levelstitle - title filter value. Fetches the nested level objects until either the title filter value matches or reaches the maximum input levelsappCtxMap - The application context as a hash map will contain Language constraint if any and the Principal user.ConnectionExceptionPolicyExceptionSubjectNotUniqueExceptionIDBeanExceptionInvalidFilterExceptionpublic java.util.List<User> getManagementChain(User user, int nLevels, java.lang.String manager, java.lang.String title) throws ConnectionException, PolicyException, SubjectNotUniqueException, IDBeanException, InvalidFilterException
public java.util.List<User> getReportees(User user, int nLevels, java.util.Map<java.lang.String,java.lang.Object> appCtxMap) throws ConnectionException, PolicyException, SubjectNotUniqueException, IDBeanException, InvalidFilterException
user - User objectnLevels - Maximum number of nested levels. If set to 0, will fetch the matching entries from all nested levelsappCtxMap - The application context as a hash map will contain Language constraint if any and the Principal user.ConnectionExceptionPolicyExceptionSubjectNotUniqueExceptionIDBeanExceptionInvalidFilterExceptionpublic java.util.List<User> getReportees(User user, int nLevels) throws ConnectionException, PolicyException, SubjectNotUniqueException, IDBeanException, InvalidFilterException
public boolean isManager(User user, User manager, boolean direct, java.util.Map<java.lang.String,java.lang.Object> appCtxMap) throws ConnectionException, PolicyException, SubjectNotUniqueException, IDBeanException, java.io.FileNotFoundException, java.net.URISyntaxException, java.lang.IllegalAccessException, InvalidFilterException
user - User objectmanager - User objectdirect - true - to check only one level objects false - to check all nested levelsappCtxMap - The application context as a hash map will contain Language constraint if any and the Principal user.ConnectionExceptionPolicyExceptionSubjectNotUniqueExceptionIDBeanExceptionjava.io.FileNotFoundExceptionjava.net.URISyntaxExceptionjava.lang.IllegalAccessExceptionInvalidFilterExceptionpublic boolean isManager(User user, User manager, boolean direct) throws ConnectionException, PolicyException, SubjectNotUniqueException, IDBeanException, java.io.FileNotFoundException, java.net.URISyntaxException, java.lang.IllegalAccessException, InvalidFilterException
ConnectionExceptionPolicyExceptionSubjectNotUniqueExceptionIDBeanExceptionjava.io.FileNotFoundExceptionjava.net.URISyntaxExceptionjava.lang.IllegalAccessExceptionInvalidFilterException