Oracle Fusion Middleware Identity Governance Framework IDXUserRole API Reference
11g Release 1 (11.1.1)

E16592-02

oracle.igf.idxuserrole
Class UserManager

java.lang.Object
  extended by org.openliberty.arisidbeans.IGFObjectManager
      extended by oracle.igf.idxuserrole.UserManager

public class UserManager
extends IGFObjectManager

This UserManager class generated from CARML file idxuserrole.xml has methods corresponding to the interactions defined in the CARML file.


Constructor Summary
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
 
Method Summary
 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.Map<java.lang.String,java.lang.Object> appCtxMap)
          Get user profile Retrieves User from Attribute Authority for a given Principal Identifier
 User getUser(java.lang.String subjectID)
           
 User getUser(java.lang.String subjectID, java.util.Map<java.lang.String,java.lang.Object> appCtxMap)
          Get user profile Retrieves User from Attribute Authority for given SubjectID.
 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.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)
           
 User searchUserByGuid(java.lang.String guid, java.util.Map<java.lang.String,java.lang.Object> appCtxMap)
          Locate user Profile Finds User from Attribute Authority for given SubjectID.
 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> 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.
 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.
 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.
 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> 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.
 
Methods inherited from class org.openliberty.arisidbeans.IGFObjectManager
dispose, finalize, getAllAttributeNames, getAllAttributeNames, getAllInteractions, getAllInteractions, getAllPredicateNames, getAllPredicateNames, getAllPropertyNames, getAllPropertyNames, getAllRoles, getAllRoles, getAttributeDef, getPredicateDef, getRoleDef, isAttribute, isPredicate, isRole
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserManager

public UserManager()
            throws java.io.FileNotFoundException,
                   java.net.URISyntaxException,
                   java.lang.IllegalAccessException,
                   IDBeanException
UserManager default Constructor. UserManager is initialized with the CARML file, idxuserrole.xml

Throws:
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 invalid
java.lang.IllegalAccessException - An Exception has occurred with XML parser
IDBeanException - General IdentityManagement Exception

UserManager

public UserManager(java.util.Map<java.lang.String,java.lang.Object> properties)
            throws java.io.FileNotFoundException,
                   java.net.URISyntaxException,
                   java.lang.IllegalAccessException,
                   IDBeanException
UserManager is initialized with the CARML file, idxuserrole.xml

Parameters:
properties - Map with IdentityBeans parameter values
Throws:
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 invalid
java.lang.IllegalAccessException - An Exception has occurred with XML parser
IDBeanException - General IdentityManagement Exception

UserManager

public 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
UserManager constructor initialized with given CARML file

Parameters:
carmlFile - CARML file with location from which this User bean has been generated
properties - Map with IdentityBeans parameter values
Throws:
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 invalid
java.lang.IllegalAccessException - An Exception has occurred with XML parser
IDBeanException - General IdentityManagement Exception

UserManager

public UserManager(java.net.URI carmlLoc,
                   java.util.Map<java.lang.String,java.lang.Object> properties)
            throws java.io.FileNotFoundException,
                   IDBeanException,
                   java.lang.IllegalAccessException
UserManager constructor initialized with given CARML URI

Parameters:
carmlLoc - URI of the CARML file from which this User bean has been generated
properties - Map with IdentityBeans parameter values
Throws:
java.io.FileNotFoundException - Thrown when the CARML document cannot be located through the provided URI.
java.lang.IllegalAccessException - An Exception has occurred with XML parser
IDBeanException - General IdentityManagement Exception
Method Detail

getDefaultCarmlFile

public static java.lang.String getDefaultCarmlFile()
Get Default CARML declaration file

Returns:
default CARML declaration filename

searchUsersbyAnyAttr

public 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
Returns all Users matching given 'OR' filter condition Searches the Attribute Authority and returns list of Digital Entities matching the given filter condition. Attributes given in the List should exist in searchInteraction in CARML document as filter attributes.

Parameters:
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 document
appCtxMap - The application context as a hash map will contain Language constraint if any and the Principal user.
Returns:
List of Identities matching given filter condition
Throws:
NoSuchSubjectException - The attribute service could not find a subject within the mapped context to authenticate
ConnectionException - 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 failure
SubjectNotUniqueException - 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 specified
IDBeanException - General IdentityManagement Exception

searchUsersbyAnyAttr

public java.util.List<User> searchUsersbyAnyAttr(java.util.List<PropertyFilterValue> attrFiltersList)
                                          throws IDBeanException,
                                                 ConnectionException,
                                                 PolicyException,
                                                 NoSuchSubjectException,
                                                 SubjectNotUniqueException,
                                                 InvalidFilterException
Throws:
IDBeanException
ConnectionException
PolicyException
NoSuchSubjectException
SubjectNotUniqueException
InvalidFilterException

searchUsersbyAllAttr

public 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
Returns all Users matching given 'AND' filter condition Searches the Attribute Authority and returns list of Digital Entities matching the given filter condition. Attributes given in the List should exist in searchInteraction in CARML document as filter attributes.

Parameters:
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 document
appCtxMap - The application context as a hash map will contain Language constraint if any and the Principal user.
Returns:
List of Identities matching given filter condition
Throws:
NoSuchSubjectException - The attribute service could not find a subject within the mapped context to authenticate
ConnectionException - 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 failure
SubjectNotUniqueException - 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 specified
IDBeanException - General IdentityManagement Exception

searchUsersbyAllAttr

public java.util.List<User> searchUsersbyAllAttr(java.util.List<PropertyFilterValue> attrFiltersList)
                                          throws IDBeanException,
                                                 ConnectionException,
                                                 PolicyException,
                                                 NoSuchSubjectException,
                                                 SubjectNotUniqueException,
                                                 InvalidFilterException
Throws:
IDBeanException
ConnectionException
PolicyException
NoSuchSubjectException
SubjectNotUniqueException
InvalidFilterException

searchUser

public User searchUser(java.lang.String loginid,
                       java.util.Map<java.lang.String,java.lang.Object> appCtxMap)
                throws IDBeanException,
                       NoSuchSubjectException,
                       SubjectNotUniqueException,
                       InvalidFilterException,
                       ConnectionException,
                       PolicyException
Locate user Profile Finds User from Attribute Authority for given SubjectID. SubjectID is the value for the PrimaryKey filter attribute in FindInteraction as defined in CARML document.

Parameters:
loginid - Unique ID of the User. This attribute is defined as PrimaryKey filter in findInteraction in CARML document.
appCtxMap - The application context as a hash map will contain Language constraint if any and the Principal user.
Returns:
User for given loginid
Throws:
NoSuchSubjectException - The attribute service could not find a subject within the mapped context to authenticate
ConnectionException - Occurs when there was a connection error trying to connect to the appropriate attribute authority.
PolicyException - Transaction has failed due to policy or consent failure
SubjectNotUniqueException - 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 specified
IDBeanException - General IdentityManagement Exception

searchUser

public User searchUser(java.lang.String loginid)
                throws IDBeanException,
                       NoSuchSubjectException,
                       SubjectNotUniqueException,
                       InvalidFilterException,
                       ConnectionException,
                       PolicyException
Throws:
IDBeanException
NoSuchSubjectException
SubjectNotUniqueException
InvalidFilterException
ConnectionException
PolicyException

searchUserByGuid

public User searchUserByGuid(java.lang.String guid,
                             java.util.Map<java.lang.String,java.lang.Object> appCtxMap)
                      throws IDBeanException,
                             NoSuchSubjectException,
                             SubjectNotUniqueException,
                             InvalidFilterException,
                             ConnectionException,
                             PolicyException
Locate user Profile Finds User from Attribute Authority for given SubjectID. SubjectID is the value for the PrimaryKey filter attribute in FindInteraction as defined in CARML document.

Parameters:
guid - Unique ID of the User. This attribute is defined as PrimaryKey filter in findInteraction in CARML document.
appCtxMap - The application context as a hash map will contain Language constraint if any and the Principal user.
Returns:
User for given guid
Throws:
NoSuchSubjectException - The attribute service could not find a subject within the mapped context to authenticate
ConnectionException - Occurs when there was a connection error trying to connect to the appropriate attribute authority.
PolicyException - Transaction has failed due to policy or consent failure
SubjectNotUniqueException - 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 specified
IDBeanException - General IdentityManagement Exception

searchUserByGuid

public User searchUserByGuid(java.lang.String guid)
                      throws IDBeanException,
                             NoSuchSubjectException,
                             SubjectNotUniqueException,
                             InvalidFilterException,
                             ConnectionException,
                             PolicyException
Throws:
IDBeanException
NoSuchSubjectException
SubjectNotUniqueException
InvalidFilterException
ConnectionException
PolicyException

searchUsersbyAnyAttrbyPage

public 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
Returns all Users matching given 'OR' filter condition Searches the Attribute Authority and returns list of Digital Entities matching the given filter condition. Attributes given in the List should exist in searchInteraction in CARML document as filter attributes.

Parameters:
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 document
appCtxMap - The application context as a hash map will contain Language constraint if any and the Principal user.
Returns:
SearchResults object containing Identities matching given filter condition
Throws:
NoSuchSubjectException - The attribute service could not find a subject within the mapped context to authenticate
ConnectionException - 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 failure
SubjectNotUniqueException - 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 specified
IDBeanException - General IdentityManagement Exception

searchUsersbyAnyAttrbyPage

public SearchResults<User> searchUsersbyAnyAttrbyPage(java.util.List<PropertyFilterValue> attrFiltersList)
                                               throws IDBeanException,
                                                      ConnectionException,
                                                      PolicyException,
                                                      NoSuchSubjectException,
                                                      SubjectNotUniqueException,
                                                      InvalidFilterException
Throws:
IDBeanException
ConnectionException
PolicyException
NoSuchSubjectException
SubjectNotUniqueException
InvalidFilterException

searchUsers

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
Returns all Users matching given filter condition Searches the Attribute Authority and returns list of Digital Entities matching the given filter condition. Attributes given in the List should exist in searchInteraction in CARML document as filter attributes.

Parameters:
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 document
appCtxMap - The application context as a hash map will contain Language constraint if any and the Principal user.
Returns:
List of Identities matching given filter condition
Throws:
NoSuchSubjectException - The attribute service could not find a subject within the mapped context to authenticate
ConnectionException - 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 failure
SubjectNotUniqueException - 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 specified
IDBeanException - General IdentityManagement Exception

searchUsers

public java.util.List<User> searchUsers(java.util.List<PropertyFilterValue> attrFiltersList)
                                 throws IDBeanException,
                                        ConnectionException,
                                        PolicyException,
                                        NoSuchSubjectException,
                                        SubjectNotUniqueException,
                                        InvalidFilterException
Throws:
IDBeanException
ConnectionException
PolicyException
NoSuchSubjectException
SubjectNotUniqueException
InvalidFilterException

searchUsersbyAllAttrbyPage

public 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
Returns all Users matching given 'AND' filter condition Searches the Attribute Authority and returns list of Digital Entities matching the given filter condition. Attributes given in the List should exist in searchInteraction in CARML document as filter attributes.

Parameters:
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 document
appCtxMap - The application context as a hash map will contain Language constraint if any and the Principal user.
Returns:
SearchResults object containing Identities matching given filter condition
Throws:
NoSuchSubjectException - The attribute service could not find a subject within the mapped context to authenticate
ConnectionException - 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 failure
SubjectNotUniqueException - 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 specified
IDBeanException - General IdentityManagement Exception

searchUsersbyAllAttrbyPage

public SearchResults<User> searchUsersbyAllAttrbyPage(java.util.List<PropertyFilterValue> attrFiltersList)
                                               throws IDBeanException,
                                                      ConnectionException,
                                                      PolicyException,
                                                      NoSuchSubjectException,
                                                      SubjectNotUniqueException,
                                                      InvalidFilterException
Throws:
IDBeanException
ConnectionException
PolicyException
NoSuchSubjectException
SubjectNotUniqueException
InvalidFilterException

getUser

public User getUser(IPrincipalIdentifier principal,
                    java.util.Map<java.lang.String,java.lang.Object> appCtxMap)
             throws NoSuchSubjectException,
                    ConnectionException,
                    PolicyException,
                    SubjectNotUniqueException,
                    IDBeanException
Get user profile Retrieves User from Attribute Authority for a given Principal Identifier

Parameters:
principal - Principal Identifier in the Digital Subject
appCtxMap - The application context as a hash map will contain Language constraint if any and the Principal user.
Returns:
User for the requested Principal Identifier
Throws:
NoSuchSubjectException - The attribute service could not find a subject within the mapped context
ConnectionException - Occurs when there was a connection error trying to connect to the appropriate attribute authority.
PolicyException - Transaction has failed due to policy or consent failure
SubjectNotUniqueException - Thrown when the subject or user cannot be uniquely mapped to a single context or is not unique within a context.
IDBeanException - General IdentityManagement Exception

getUser

public User getUser(IPrincipalIdentifier principal)
             throws NoSuchSubjectException,
                    ConnectionException,
                    PolicyException,
                    SubjectNotUniqueException,
                    IDBeanException
Throws:
NoSuchSubjectException
ConnectionException
PolicyException
SubjectNotUniqueException
IDBeanException

getUser

public User getUser(javax.servlet.http.HttpServletRequest request,
                    java.util.Map<java.lang.String,java.lang.Object> appCtxMap)
             throws NoSuchSubjectException,
                    ConnectionException,
                    PolicyException,
                    SubjectNotUniqueException,
                    IDBeanException
Get user profile Retrieves User from Attribute Authority for a given HTTPServletRequest

Parameters:
request - HttpServerletRequest object to be parsed for a Subject context
appCtxMap - The application context as a hash map will contain Language constraint if any and the Principal user.
Returns:
User for the requested Principal Identifier
Throws:
NoSuchSubjectException - The attribute service could not find a subject within the mapped context
ConnectionException - Occurs when there was a connection error trying to connect to the appropriate attribute authority.
PolicyException - Transaction has failed due to policy or consent failure
SubjectNotUniqueException - Thrown when the subject or user cannot be uniquely mapped to a single context or is not unique within a context.
IDBeanException - General IdentityManagement Exception

getUser

public User getUser(javax.servlet.http.HttpServletRequest request)
             throws NoSuchSubjectException,
                    ConnectionException,
                    PolicyException,
                    SubjectNotUniqueException,
                    IDBeanException
Throws:
NoSuchSubjectException
ConnectionException
PolicyException
SubjectNotUniqueException
IDBeanException

getUser

public User getUser(java.lang.String subjectID,
                    java.util.Map<java.lang.String,java.lang.Object> appCtxMap)
             throws IDBeanException,
                    NoSuchSubjectException,
                    SubjectNotUniqueException,
                    InvalidFilterException,
                    ConnectionException,
                    PolicyException
Get user profile Retrieves User from Attribute Authority for given SubjectID. SubjectID is the value for the PrimaryKey filter attribute in FindInteraction as defined in CARML document.

Parameters:
subjectID - ID of the subject that uniquely identifies User from Attribute Authority. This attribute is defined as PrimaryKey filter in findInteraction in CARML document.
appCtxMap - The application context as a hash map will contain Language constraint if any and the Principal user.
Returns:
User for a given SubjectID
Throws:
NoSuchSubjectException - The attribute service could not find a subject within the mapped context to authenticate
ConnectionException - Occurs when there was a connection error trying to connect to the appropriate attribute authority.
PolicyException - Transaction has failed due to policy or consent failure
SubjectNotUniqueException - 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 specified
IDBeanException - General IdentityManagement Exception

getUser

public User getUser(java.lang.String subjectID)
             throws IDBeanException,
                    NoSuchSubjectException,
                    SubjectNotUniqueException,
                    InvalidFilterException,
                    ConnectionException,
                    PolicyException
Throws:
IDBeanException
NoSuchSubjectException
SubjectNotUniqueException
InvalidFilterException
ConnectionException
PolicyException

searchUsersbyPage

public 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
Returns all Users matching given filter condition Searches the Attribute Authority and returns list of Digital Entities matching the given filter condition. Attributes given in the List should exist in searchInteraction in CARML document as filter attributes.

Parameters:
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 document
appCtxMap - The application context as a hash map will contain Language constraint if any and the Principal user.
Returns:
SearchResults object containing Identities matching given filter condition
Throws:
NoSuchSubjectException - The attribute service could not find a subject within the mapped context to authenticate
ConnectionException - 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 failure
SubjectNotUniqueException - 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 specified
IDBeanException - General IdentityManagement Exception

searchUsersbyPage

public SearchResults<User> searchUsersbyPage(java.util.List<PropertyFilterValue> attrFiltersList)
                                      throws IDBeanException,
                                             ConnectionException,
                                             PolicyException,
                                             NoSuchSubjectException,
                                             SubjectNotUniqueException,
                                             InvalidFilterException
Throws:
IDBeanException
ConnectionException
PolicyException
NoSuchSubjectException
SubjectNotUniqueException
InvalidFilterException

exists

public boolean exists(User subj,
                      java.util.Map<java.lang.String,java.lang.Object> appCtxMap)
               throws ConnectionException,
                      PolicyException,
                      IDBeanException
Returns true if the User exists in Attribute Authority

Parameters:
subj - Subject to be verified if exists in Attribute Authority
appCtxMap - The application context as a hash map will contain Language constraint if any and the Principal user.
Returns:
true if User exists
Throws:
ConnectionException
PolicyException
IDBeanException

exists

public boolean exists(User subj)
               throws ConnectionException,
                      PolicyException,
                      IDBeanException
Throws:
ConnectionException
PolicyException
IDBeanException

isCreateUserSupported

public boolean isCreateUserSupported()
Check if create User is supported

Returns:
true if User creation is supported

isModifyUserSupported

public boolean isModifyUserSupported()
Check if modify User is supported

Returns:
true if User modification is supported

isDropUserSupported

public boolean isDropUserSupported()
Check if drop User is supported

Returns:
true if User deletion is supported

getManagementChain

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
Get Management Chain

Parameters:
user - User object
nLevels - Maximum number of nested levels. If set to 0, will fetch the matching entries from all nested levels
manager - manager filter value. Fetches the nested level objects until either the manager filter value matches or reaches the maximum input levels
title - title filter value. Fetches the nested level objects until either the title filter value matches or reaches the maximum input levels
appCtxMap - The application context as a hash map will contain Language constraint if any and the Principal user.
Returns:
List of Users
Throws:
ConnectionException
PolicyException
SubjectNotUniqueException
IDBeanException
InvalidFilterException

getManagementChain

public java.util.List<User> getManagementChain(User user,
                                               int nLevels,
                                               java.lang.String manager,
                                               java.lang.String title)
                                        throws ConnectionException,
                                               PolicyException,
                                               SubjectNotUniqueException,
                                               IDBeanException,
                                               InvalidFilterException
Throws:
ConnectionException
PolicyException
SubjectNotUniqueException
IDBeanException
InvalidFilterException

getReportees

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
Get Reportees

Parameters:
user - User object
nLevels - Maximum number of nested levels. If set to 0, will fetch the matching entries from all nested levels
appCtxMap - The application context as a hash map will contain Language constraint if any and the Principal user.
Returns:
List of Users
Throws:
ConnectionException
PolicyException
SubjectNotUniqueException
IDBeanException
InvalidFilterException

getReportees

public java.util.List<User> getReportees(User user,
                                         int nLevels)
                                  throws ConnectionException,
                                         PolicyException,
                                         SubjectNotUniqueException,
                                         IDBeanException,
                                         InvalidFilterException
Throws:
ConnectionException
PolicyException
SubjectNotUniqueException
IDBeanException
InvalidFilterException

isManager

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
Return true if user2 is manager of user1

Parameters:
user - User object
manager - User object
direct - true - to check only one level objects false - to check all nested levels
appCtxMap - The application context as a hash map will contain Language constraint if any and the Principal user.
Returns:
true if '$attrName' is $attrName of 'user'
Throws:
ConnectionException
PolicyException
SubjectNotUniqueException
IDBeanException
java.io.FileNotFoundException
java.net.URISyntaxException
java.lang.IllegalAccessException
InvalidFilterException

isManager

public boolean isManager(User user,
                         User manager,
                         boolean direct)
                  throws ConnectionException,
                         PolicyException,
                         SubjectNotUniqueException,
                         IDBeanException,
                         java.io.FileNotFoundException,
                         java.net.URISyntaxException,
                         java.lang.IllegalAccessException,
                         InvalidFilterException
Throws:
ConnectionException
PolicyException
SubjectNotUniqueException
IDBeanException
java.io.FileNotFoundException
java.net.URISyntaxException
java.lang.IllegalAccessException
InvalidFilterException

Oracle Fusion Middleware Identity Governance Framework IDXUserRole API Reference
11g Release 1 (11.1.1)

E16592-02

Copyright © 2011 Oracle. All Rights Reserved.