|
Oracle Fusion Middleware Identity Governance Framework IDXUserRole Java API Reference 11g Release 1 (11.1.1) E16592-03 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
org.openliberty.arisidbeans.IGFObjectManager
oracle.igf.idxuserrole.RoleManager
public class RoleManager
This RoleManager class generated from CARML file idxuserrole.xml has methods corresponding to the interactions defined in the CARML file.
| Constructor Summary | |
|---|---|
RoleManager()RoleManager default Constructor. |
|
RoleManager(java.util.Map<java.lang.String,java.lang.Object> properties)RoleManager is initialized with the CARML file, idxuserrole.xml |
|
RoleManager(java.lang.String carmlFile, java.util.Map<java.lang.String,java.lang.Object> properties)RoleManager constructor initialized with given CARML file |
|
RoleManager(java.net.URI carmlLoc, java.util.Map<java.lang.String,java.lang.Object> properties)RoleManager constructor initialized with given CARML URI |
|
| Method Summary | |
|---|---|
boolean |
exists(Role subj) |
boolean |
exists(Role subj, java.util.Map<java.lang.String,java.lang.Object> appCtxMap)Returns true if the Role exists in Attribute Authority |
static java.lang.String |
getDefaultCarmlFile()Get Default CARML declaration file |
java.util.List<Role> |
getGrantedRoles(Role role, int nLevels) |
java.util.List<Role> |
getGrantedRoles(Role role, int nLevels, java.util.Map<java.lang.String,java.lang.Object> appCtxMap)Get granted roles of a member |
java.util.List<Role> |
getGrantedRoles(User user, int nLevels) |
java.util.List<Role> |
getGrantedRoles(User user, int nLevels, java.util.Map<java.lang.String,java.lang.Object> appCtxMap)Get granted roles of a member |
java.util.List<java.lang.String> |
getGranteeNames(Role role, int nLevels) |
java.util.List<java.lang.String> |
getGranteeNames(Role role, int nLevels, java.util.Map<java.lang.String,java.lang.Object> appCtxMap)Get member names of a role |
java.util.List<User> |
getGrantees(Role role, int nLevels, UserManager usermanager) |
java.util.List<User> |
getGrantees(Role role, int nLevels, UserManager usermanager, java.util.Map<java.lang.String,java.lang.Object> appCtxMap)Get members of a role |
java.util.List<java.lang.Object> |
getMembersandRoles(Role role, int nLevels, UserManager usermanager) |
java.util.List<java.lang.Object> |
getMembersandRoles(Role role, int nLevels, UserManager usermanager, java.util.Map<java.lang.String,java.lang.Object> appCtxMap)Get members and subroles of a role |
java.util.List<Role> |
getOwnedRoles(Role role, int nLevels) |
java.util.List<Role> |
getOwnedRoles(Role role, int nLevels, java.util.Map<java.lang.String,java.lang.Object> appCtxMap)Get owned roles of an user/role |
java.util.List<Role> |
getOwnedRoles(User user, int nLevels) |
java.util.List<Role> |
getOwnedRoles(User user, int nLevels, java.util.Map<java.lang.String,java.lang.Object> appCtxMap)Get owned roles of an user/role |
java.util.List<User> |
getOwners(Role role, int nLevels, UserManager usermanager) |
java.util.List<User> |
getOwners(Role role, int nLevels, UserManager usermanager, java.util.Map<java.lang.String,java.lang.Object> appCtxMap)Get owners of a role |
Role |
getRole(javax.servlet.http.HttpServletRequest request) |
Role |
getRole(javax.servlet.http.HttpServletRequest request, java.util.Map<java.lang.String,java.lang.Object> appCtxMap)get role profile Retrieves Role from Attribute Authority for a given HTTPServletRequest |
Role |
getRole(IPrincipalIdentifier principal) |
Role |
getRole(IPrincipalIdentifier principal, java.util.List<java.lang.String> reqProps, java.util.Map<java.lang.String,java.lang.Object> appCtxMap)get role profile Retrieves Role from Attribute Authority for a given Principal Identifier |
Role |
getRole(IPrincipalIdentifier principal, java.util.Map<java.lang.String,java.lang.Object> appCtxMap) |
Role |
getRoleMembers(javax.servlet.http.HttpServletRequest request) |
Role |
getRoleMembers(javax.servlet.http.HttpServletRequest request, java.util.Map<java.lang.String,java.lang.Object> appCtxMap)get role members Retrieves Role from Attribute Authority for a given HTTPServletRequest |
Role |
getRoleMembers(IPrincipalIdentifier principal) |
Role |
getRoleMembers(IPrincipalIdentifier principal, java.util.List<java.lang.String> reqProps, java.util.Map<java.lang.String,java.lang.Object> appCtxMap)get role members Retrieves Role from Attribute Authority for a given Principal Identifier |
Role |
getRoleMembers(IPrincipalIdentifier principal, java.util.Map<java.lang.String,java.lang.Object> appCtxMap) |
boolean |
isCreateRoleSupported()Check if create Role is supported |
boolean |
isDropRoleSupported()Check if drop Role is supported |
boolean |
isMember(Role role, Role member, boolean direct) |
boolean |
isMember(Role role, Role member, boolean direct, java.util.Map<java.lang.String,java.lang.Object> appCtxMap)Return TRUE if inputMember is a member of a role |
boolean |
isMember(Role role, User member, boolean direct) |
boolean |
isMember(Role role, User member, boolean direct, java.util.Map<java.lang.String,java.lang.Object> appCtxMap)Return TRUE if inputMember is a member of a role |
boolean |
isModifyRoleSupported()Check if modify Role is supported |
boolean |
isOwner(Role role, Role owner, boolean direct) |
boolean |
isOwner(Role role, Role owner, boolean direct, java.util.Map<java.lang.String,java.lang.Object> appCtxMap)Return TRUE if inputOwner is owner of a role |
boolean |
isOwner(Role role, User owner, boolean direct) |
boolean |
isOwner(Role role, User owner, boolean direct, java.util.Map<java.lang.String,java.lang.Object> appCtxMap)Return TRUE if inputOwner is owner of a role |
java.util.List<Role> |
searchRoles(java.util.List<PropertyFilterValue> attrFiltersList) |
java.util.List<Role> |
searchRoles(java.util.List<PropertyFilterValue> attrFiltersList, java.util.Map<java.lang.String,java.lang.Object> appCtxMap)Returns all Roles matching given filter condition Searches the Attribute Authority and returns list of Digital Entities matching the given filter condition. |
java.util.List<Role> |
searchRoles(SearchFilter filter, java.util.List<java.lang.String> reqProps, java.util.Map<java.lang.String,java.lang.Object> appCtxMap)Returns all Roles matching given filter condition Searches the Attribute Authority and returns list of Digital Entities matching the given filter condition. |
java.util.List<Role> |
searchRolesbyAllAttr(java.util.List<PropertyFilterValue> attrFiltersList) |
java.util.List<Role> |
searchRolesbyAllAttr(java.util.List<PropertyFilterValue> attrFiltersList, java.util.Map<java.lang.String,java.lang.Object> appCtxMap)Returns all Roles matching given 'AND' filter condition Searches the Attribute Authority and returns list of Digital Entities matching the given filter condition. |
java.util.List<Role> |
searchRolesbyAllAttr(SearchFilter filter, java.util.List<java.lang.String> reqProps, java.util.Map<java.lang.String,java.lang.Object> appCtxMap)Returns all Roles matching given 'AND' filter condition Searches the Attribute Authority and returns list of Digital Entities matching the given filter condition. |
SearchResults<Role> |
searchRolesbyAllAttrbyPage(java.util.List<PropertyFilterValue> attrFiltersList) |
SearchResults<Role> |
searchRolesbyAllAttrbyPage(java.util.List<PropertyFilterValue> attrFiltersList, java.util.Map<java.lang.String,java.lang.Object> appCtxMap)Returns all Roles matching given 'AND' filter condition Searches the Attribute Authority and returns list of Digital Entities matching the given filter condition. |
SearchResults<Role> |
searchRolesbyAllAttrbyPage(SearchFilter filter, java.util.List<java.lang.String> reqProps, java.util.Map<java.lang.String,java.lang.Object> appCtxMap)Returns all Roles matching given 'AND' filter condition Searches the Attribute Authority and returns list of Digital Entities matching the given filter condition. |
java.util.List<Role> |
searchRolesbyAnyAttr(java.util.List<PropertyFilterValue> attrFiltersList) |
java.util.List<Role> |
searchRolesbyAnyAttr(java.util.List<PropertyFilterValue> attrFiltersList, java.util.Map<java.lang.String,java.lang.Object> appCtxMap)Returns all Roles matching given 'OR' filter condition Searches the Attribute Authority and returns list of Digital Entities matching the given filter condition. |
java.util.List<Role> |
searchRolesbyAnyAttr(SearchFilter filter, java.util.List<java.lang.String> reqProps, java.util.Map<java.lang.String,java.lang.Object> appCtxMap)Returns all Roles matching given 'OR' filter condition Searches the Attribute Authority and returns list of Digital Entities matching the given filter condition. |
SearchResults<Role> |
searchRolesbyAnyAttrbyPage(java.util.List<PropertyFilterValue> attrFiltersList) |
SearchResults<Role> |
searchRolesbyAnyAttrbyPage(java.util.List<PropertyFilterValue> attrFiltersList, java.util.Map<java.lang.String,java.lang.Object> appCtxMap)Returns all Roles matching given 'OR' filter condition Searches the Attribute Authority and returns list of Digital Entities matching the given filter condition. |
SearchResults<Role> |
searchRolesbyAnyAttrbyPage(SearchFilter filter, java.util.List<java.lang.String> reqProps, java.util.Map<java.lang.String,java.lang.Object> appCtxMap)Returns all Roles matching given 'OR' filter condition Searches the Attribute Authority and returns list of Digital Entities matching the given filter condition. |
SearchResults<Role> |
searchRolesbyPage(java.util.List<PropertyFilterValue> attrFiltersList) |
SearchResults<Role> |
searchRolesbyPage(java.util.List<PropertyFilterValue> attrFiltersList, java.util.Map<java.lang.String,java.lang.Object> appCtxMap)Returns all Roles matching given filter condition Searches the Attribute Authority and returns list of Digital Entities matching the given filter condition. |
SearchResults<Role> |
searchRolesbyPage(SearchFilter filter, java.util.List<java.lang.String> reqProps, java.util.Map<java.lang.String,java.lang.Object> appCtxMap)Returns all Roles 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 |
|---|
public RoleManager()
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 Exception
public RoleManager(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 Exception
public RoleManager(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 Role 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 Exception
public RoleManager(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 Role 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 Exception| Method Detail |
|---|
public static java.lang.String getDefaultCarmlFile()
public SearchResults<Role> searchRolesbyAnyAttrbyPage(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 Exception
public SearchResults<Role> searchRolesbyAnyAttrbyPage(java.util.List<PropertyFilterValue> attrFiltersList)
throws IDBeanException,
ConnectionException,
PolicyException,
NoSuchSubjectException,
SubjectNotUniqueException,
InvalidFilterException
IDBeanExceptionConnectionExceptionPolicyExceptionNoSuchSubjectExceptionSubjectNotUniqueExceptionInvalidFilterException
public SearchResults<Role> searchRolesbyAnyAttrbyPage(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 Exception
public java.util.List<Role> searchRolesbyAnyAttr(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 Exception
public java.util.List<Role> searchRolesbyAnyAttr(java.util.List<PropertyFilterValue> attrFiltersList)
throws IDBeanException,
ConnectionException,
PolicyException,
NoSuchSubjectException,
SubjectNotUniqueException,
InvalidFilterException
IDBeanExceptionConnectionExceptionPolicyExceptionNoSuchSubjectExceptionSubjectNotUniqueExceptionInvalidFilterException
public java.util.List<Role> searchRolesbyAnyAttr(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 Exception
public java.util.List<Role> searchRoles(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 Exception
public java.util.List<Role> searchRoles(java.util.List<PropertyFilterValue> attrFiltersList)
throws IDBeanException,
ConnectionException,
PolicyException,
NoSuchSubjectException,
SubjectNotUniqueException,
InvalidFilterException
IDBeanExceptionConnectionExceptionPolicyExceptionNoSuchSubjectExceptionSubjectNotUniqueExceptionInvalidFilterException
public java.util.List<Role> searchRoles(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 Exception
public java.util.List<Role> searchRolesbyAllAttr(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 Exception
public java.util.List<Role> searchRolesbyAllAttr(java.util.List<PropertyFilterValue> attrFiltersList)
throws IDBeanException,
ConnectionException,
PolicyException,
NoSuchSubjectException,
SubjectNotUniqueException,
InvalidFilterException
IDBeanExceptionConnectionExceptionPolicyExceptionNoSuchSubjectExceptionSubjectNotUniqueExceptionInvalidFilterException
public java.util.List<Role> searchRolesbyAllAttr(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 Exception
public Role getRoleMembers(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 Exception
public Role getRoleMembers(IPrincipalIdentifier principal,
java.util.Map<java.lang.String,java.lang.Object> appCtxMap)
throws NoSuchSubjectException,
ConnectionException,
PolicyException,
SubjectNotUniqueException,
IDBeanException
NoSuchSubjectExceptionConnectionExceptionPolicyExceptionSubjectNotUniqueExceptionIDBeanException
public Role getRoleMembers(IPrincipalIdentifier principal)
throws NoSuchSubjectException,
ConnectionException,
PolicyException,
SubjectNotUniqueException,
IDBeanException
NoSuchSubjectExceptionConnectionExceptionPolicyExceptionSubjectNotUniqueExceptionIDBeanException
public Role getRoleMembers(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 Exception
public Role getRoleMembers(javax.servlet.http.HttpServletRequest request)
throws NoSuchSubjectException,
ConnectionException,
PolicyException,
SubjectNotUniqueException,
IDBeanException
NoSuchSubjectExceptionConnectionExceptionPolicyExceptionSubjectNotUniqueExceptionIDBeanException
public Role getRole(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 Exception
public Role getRole(IPrincipalIdentifier principal,
java.util.Map<java.lang.String,java.lang.Object> appCtxMap)
throws NoSuchSubjectException,
ConnectionException,
PolicyException,
SubjectNotUniqueException,
IDBeanException
NoSuchSubjectExceptionConnectionExceptionPolicyExceptionSubjectNotUniqueExceptionIDBeanException
public Role getRole(IPrincipalIdentifier principal)
throws NoSuchSubjectException,
ConnectionException,
PolicyException,
SubjectNotUniqueException,
IDBeanException
NoSuchSubjectExceptionConnectionExceptionPolicyExceptionSubjectNotUniqueExceptionIDBeanException
public Role getRole(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 Exception
public Role getRole(javax.servlet.http.HttpServletRequest request)
throws NoSuchSubjectException,
ConnectionException,
PolicyException,
SubjectNotUniqueException,
IDBeanException
NoSuchSubjectExceptionConnectionExceptionPolicyExceptionSubjectNotUniqueExceptionIDBeanException
public SearchResults<Role> searchRolesbyPage(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 Exception
public SearchResults<Role> searchRolesbyPage(java.util.List<PropertyFilterValue> attrFiltersList)
throws IDBeanException,
ConnectionException,
PolicyException,
NoSuchSubjectException,
SubjectNotUniqueException,
InvalidFilterException
IDBeanExceptionConnectionExceptionPolicyExceptionNoSuchSubjectExceptionSubjectNotUniqueExceptionInvalidFilterException
public SearchResults<Role> searchRolesbyPage(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 Exception
public SearchResults<Role> searchRolesbyAllAttrbyPage(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 Exception
public SearchResults<Role> searchRolesbyAllAttrbyPage(java.util.List<PropertyFilterValue> attrFiltersList)
throws IDBeanException,
ConnectionException,
PolicyException,
NoSuchSubjectException,
SubjectNotUniqueException,
InvalidFilterException
IDBeanExceptionConnectionExceptionPolicyExceptionNoSuchSubjectExceptionSubjectNotUniqueExceptionInvalidFilterException
public SearchResults<Role> searchRolesbyAllAttrbyPage(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 Exception
public boolean exists(Role 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.ConnectionExceptionPolicyExceptionIDBeanException
public boolean exists(Role subj)
throws ConnectionException,
PolicyException,
IDBeanException
ConnectionExceptionPolicyExceptionIDBeanExceptionpublic boolean isCreateRoleSupported()
public boolean isModifyRoleSupported()
public boolean isDropRoleSupported()
public java.util.List<User> getGrantees(Role role,
int nLevels,
UserManager usermanager,
java.util.Map<java.lang.String,java.lang.Object> appCtxMap)
throws ConnectionException,
PolicyException,
SubjectNotUniqueException,
IDBeanException,
InvalidFilterException
role - Role objectnLevels - Maximum number of nested levels. If set to 0, will fetch the matching entries from all nested levelsusermanager - UserManager objectappCtxMap - The application context as a hash map will contain Language constraint if any and the Principal user.ConnectionExceptionPolicyExceptionSubjectNotUniqueExceptionIDBeanExceptionInvalidFilterException
public java.util.List<User> getGrantees(Role role,
int nLevels,
UserManager usermanager)
throws ConnectionException,
PolicyException,
SubjectNotUniqueException,
IDBeanException,
InvalidFilterException
ConnectionExceptionPolicyExceptionSubjectNotUniqueExceptionIDBeanExceptionInvalidFilterException
public java.util.List<java.lang.String> getGranteeNames(Role role,
int nLevels,
java.util.Map<java.lang.String,java.lang.Object> appCtxMap)
throws ConnectionException,
PolicyException,
SubjectNotUniqueException,
IDBeanException,
InvalidFilterException
role - Role 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.ConnectionExceptionPolicyExceptionSubjectNotUniqueExceptionIDBeanExceptionInvalidFilterException
public java.util.List<java.lang.String> getGranteeNames(Role role,
int nLevels)
throws ConnectionException,
PolicyException,
SubjectNotUniqueException,
IDBeanException,
InvalidFilterException
ConnectionExceptionPolicyExceptionSubjectNotUniqueExceptionIDBeanExceptionInvalidFilterException
public java.util.List<java.lang.Object> getMembersandRoles(Role role,
int nLevels,
UserManager usermanager,
java.util.Map<java.lang.String,java.lang.Object> appCtxMap)
throws ConnectionException,
PolicyException,
SubjectNotUniqueException,
IDBeanException,
InvalidFilterException
role - Role objectnLevels - Maximum number of nested levels. If set to 0, will fetch the matching entries from all nested levelsusermanager - UserManager objectappCtxMap - The application context as a hash map will contain Language constraint if any and the Principal user.ConnectionExceptionPolicyExceptionSubjectNotUniqueExceptionIDBeanExceptionInvalidFilterException
public java.util.List<java.lang.Object> getMembersandRoles(Role role,
int nLevels,
UserManager usermanager)
throws ConnectionException,
PolicyException,
SubjectNotUniqueException,
IDBeanException,
InvalidFilterException
ConnectionExceptionPolicyExceptionSubjectNotUniqueExceptionIDBeanExceptionInvalidFilterException
public java.util.List<Role> getGrantedRoles(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.ConnectionExceptionPolicyExceptionSubjectNotUniqueExceptionIDBeanExceptionInvalidFilterException
public java.util.List<Role> getGrantedRoles(User user,
int nLevels)
throws ConnectionException,
PolicyException,
SubjectNotUniqueException,
IDBeanException,
InvalidFilterException
ConnectionExceptionPolicyExceptionSubjectNotUniqueExceptionIDBeanExceptionInvalidFilterException
public java.util.List<Role> getGrantedRoles(Role role,
int nLevels,
java.util.Map<java.lang.String,java.lang.Object> appCtxMap)
throws ConnectionException,
PolicyException,
SubjectNotUniqueException,
IDBeanException,
InvalidFilterException
role - Role 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.ConnectionExceptionPolicyExceptionSubjectNotUniqueExceptionIDBeanExceptionInvalidFilterException
public java.util.List<Role> getGrantedRoles(Role role,
int nLevels)
throws ConnectionException,
PolicyException,
SubjectNotUniqueException,
IDBeanException,
InvalidFilterException
ConnectionExceptionPolicyExceptionSubjectNotUniqueExceptionIDBeanExceptionInvalidFilterException
public java.util.List<User> getOwners(Role role,
int nLevels,
UserManager usermanager,
java.util.Map<java.lang.String,java.lang.Object> appCtxMap)
throws ConnectionException,
PolicyException,
SubjectNotUniqueException,
IDBeanException,
InvalidFilterException
role - Role objectnLevels - Maximum number of nested levels. If set to 0, will fetch the matching entries from all nested levelsusermanager - UserManager objectappCtxMap - The application context as a hash map will contain Language constraint if any and the Principal user.ConnectionExceptionPolicyExceptionSubjectNotUniqueExceptionIDBeanExceptionInvalidFilterException
public java.util.List<User> getOwners(Role role,
int nLevels,
UserManager usermanager)
throws ConnectionException,
PolicyException,
SubjectNotUniqueException,
IDBeanException,
InvalidFilterException
ConnectionExceptionPolicyExceptionSubjectNotUniqueExceptionIDBeanExceptionInvalidFilterException
public java.util.List<Role> getOwnedRoles(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.ConnectionExceptionPolicyExceptionSubjectNotUniqueExceptionIDBeanExceptionInvalidFilterException
public java.util.List<Role> getOwnedRoles(User user,
int nLevels)
throws ConnectionException,
PolicyException,
SubjectNotUniqueException,
IDBeanException,
InvalidFilterException
ConnectionExceptionPolicyExceptionSubjectNotUniqueExceptionIDBeanExceptionInvalidFilterException
public java.util.List<Role> getOwnedRoles(Role role,
int nLevels,
java.util.Map<java.lang.String,java.lang.Object> appCtxMap)
throws ConnectionException,
PolicyException,
SubjectNotUniqueException,
IDBeanException,
InvalidFilterException
role - Role 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.ConnectionExceptionPolicyExceptionSubjectNotUniqueExceptionIDBeanExceptionInvalidFilterException
public java.util.List<Role> getOwnedRoles(Role role,
int nLevels)
throws ConnectionException,
PolicyException,
SubjectNotUniqueException,
IDBeanException,
InvalidFilterException
ConnectionExceptionPolicyExceptionSubjectNotUniqueExceptionIDBeanExceptionInvalidFilterException
public boolean isMember(Role role,
User member,
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
role - Role objectmember - 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.IllegalAccessExceptionInvalidFilterException
public boolean isMember(Role role,
User member,
boolean direct)
throws ConnectionException,
PolicyException,
SubjectNotUniqueException,
IDBeanException,
java.io.FileNotFoundException,
java.net.URISyntaxException,
java.lang.IllegalAccessException,
InvalidFilterException
ConnectionExceptionPolicyExceptionSubjectNotUniqueExceptionIDBeanExceptionjava.io.FileNotFoundExceptionjava.net.URISyntaxExceptionjava.lang.IllegalAccessExceptionInvalidFilterException
public boolean isMember(Role role,
Role member,
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
role - Role objectmember - Role 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.IllegalAccessExceptionInvalidFilterException
public boolean isMember(Role role,
Role member,
boolean direct)
throws ConnectionException,
PolicyException,
SubjectNotUniqueException,
IDBeanException,
java.io.FileNotFoundException,
java.net.URISyntaxException,
java.lang.IllegalAccessException,
InvalidFilterException
ConnectionExceptionPolicyExceptionSubjectNotUniqueExceptionIDBeanExceptionjava.io.FileNotFoundExceptionjava.net.URISyntaxExceptionjava.lang.IllegalAccessExceptionInvalidFilterException
public boolean isOwner(Role role,
User owner,
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
role - Role objectowner - 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.IllegalAccessExceptionInvalidFilterException
public boolean isOwner(Role role,
User owner,
boolean direct)
throws ConnectionException,
PolicyException,
SubjectNotUniqueException,
IDBeanException,
java.io.FileNotFoundException,
java.net.URISyntaxException,
java.lang.IllegalAccessException,
InvalidFilterException
ConnectionExceptionPolicyExceptionSubjectNotUniqueExceptionIDBeanExceptionjava.io.FileNotFoundExceptionjava.net.URISyntaxExceptionjava.lang.IllegalAccessExceptionInvalidFilterException
public boolean isOwner(Role role,
Role owner,
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
role - Role objectowner - Role 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.IllegalAccessExceptionInvalidFilterException
public boolean isOwner(Role role,
Role owner,
boolean direct)
throws ConnectionException,
PolicyException,
SubjectNotUniqueException,
IDBeanException,
java.io.FileNotFoundException,
java.net.URISyntaxException,
java.lang.IllegalAccessException,
InvalidFilterException
ConnectionExceptionPolicyExceptionSubjectNotUniqueExceptionIDBeanExceptionjava.io.FileNotFoundExceptionjava.net.URISyntaxExceptionjava.lang.IllegalAccessExceptionInvalidFilterException
|
Oracle Fusion Middleware Identity Governance Framework IDXUserRole Java API Reference 11g Release 1 (11.1.1) E16592-03 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||