|
Java SDK r12.5 SP 8 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AccessRoleProvider
Lets you create or retrieve access roles in the current Identity Manager environment.
To retrieve access roles from multiple Identity Manager environments, useAccessControlProvider
.
ProviderAccessor
.
Role
.
AccessRoleProvider
are accessed for reading purposes only. However, on occassion, business logic task handlers
and event listeners may need to modify objects retrieved through
AccessRoleProvider
.
AccessRoleProvider
, call
modifyObject()
. The changes are then immediately persisted to the data store. No Identity Manager
events are generated, and no workflow approvals, auditing, or security checks are performed.
Method Summary | |
---|---|
AccessRole |
createAccessRole(java.lang.String name,
java.lang.String description,
boolean enabled,
boolean assignable,
boolean adminAssignable)
Creates a new access role without any associated policies or change rules. |
AccessRole |
findAccessRole(java.lang.String friendlyName)
Retrieves the specified access role, using the role's friendly name. |
AccessRole |
getAccessRole(java.lang.String uniqueName)
Retrieves the specified access role, using the role's unique name. |
java.util.Vector |
getAccessRoles()
Retrieves all the access roles in the Identity Manager environment. |
java.util.Vector |
getAccessRolesAdminCanAssign(TSContext tsCtx)
Retrieves the access roles to which the subject of the task can be assigned by the current administrator. |
java.util.Vector |
getAccessRolesAdminCanGrantAdmin(TSContext tsCtx)
Retrieves the access roles for which the subject of the task can be assigned administrator rights by the current administrator. |
java.util.Vector |
getAccessRolesAdminCanGrantAdmin(TSContext tsCtx,
java.util.Vector rolesToSearch)
Returns roles from the given list that the admin can make users role admins. |
java.util.Vector |
getAccessRolesAdminCanManageAdmin(TSContext tsCtx)
Retrieves the access roles for which the current administrator can assign administrator rights. |
java.util.Vector |
getAccessRolesAdminCanManageMembers(TSContext tsCtx)
Retrieves the access roles to which a user can be assigned by the current administrator. |
java.util.Vector |
getAccessRolesAdminCanManageMembers(TSContext tsCtx,
java.util.Vector rolesToSearch)
Returns roles from the given list that the admin can make users role members. |
java.util.Vector |
getAccessRolesContainingTask(AccessTask task)
Retrieves the access roles that contain the specified access task. |
java.util.Vector |
searchAccessRoles(RoleObjectQuery query)
Searches for a subset of the access roles in the Identity Manager environment. |
Method Detail |
---|
AccessRole createAccessRole(java.lang.String name, java.lang.String description, boolean enabled, boolean assignable, boolean adminAssignable) throws com.netegrity.sdk.apiutil.SmApiException
Creates a new access role without any associated policies or change rules.
name
- The friendly name for the role.description
- The description of the role.enabled
- true
if the role is enabled.assignable
- true
if a member's role assignments
can be changed.adminAssignable
- true
if administrator rights to the
role can be changed.
com.netegrity.sdk.apiutil.SmApiException
AccessRole getAccessRole(java.lang.String uniqueName) throws com.netegrity.sdk.apiutil.SmApiException, NoSuchObjectException
Retrieves the specified access role, using the role's unique name.
uniqueName
- The unique name of the access role to retrieve.
NoSuchObjectException
- if the object cannot be found.
com.netegrity.sdk.apiutil.SmApiException
AccessRole findAccessRole(java.lang.String friendlyName) throws SmApiException, NoSuchObjectException
Retrieves the specified access role, using the role's friendly name.
friendlyName
- The friendly name of the access role to retrieve.
NoSuchObjectException
- if the object cannot be found.
SmApiException
java.util.Vector getAccessRoles() throws com.netegrity.sdk.apiutil.SmApiException
Retrieves all the access roles in the Identity Manager environment.
com.netegrity.sdk.apiutil.SmApiException
java.util.Vector getAccessRolesAdminCanGrantAdmin(TSContext tsCtx, java.util.Vector rolesToSearch) throws SmApiException
tsCtx
- rolesToSearch
- collection of SmApiException
java.util.Vector getAccessRolesAdminCanManageMembers(TSContext tsCtx, java.util.Vector rolesToSearch) throws SmApiException
tsCtx
- rolesToSearch
- collection of SmApiException
java.util.Vector searchAccessRoles(RoleObjectQuery query) throws com.netegrity.sdk.apiutil.SmApiException
Searches for a subset of the access roles in the Identity Manager environment.
query
- The search filter.
com.netegrity.sdk.apiutil.SmApiException
java.util.Vector getAccessRolesContainingTask(AccessTask task) throws SmApiException
Retrieves the access roles that contain the specified access task.
task
- The access task contained in the access roles to retrieve.
SmApiException
java.util.Vector getAccessRolesAdminCanGrantAdmin(TSContext tsCtx) throws SmApiException
Retrieves the access roles for which the subject of the task can be assigned administrator rights by the current administrator.
tsCtx
- Context information about the current task, such as
the subject of the task and the administrator who is executing the task.
SmApiException
java.util.Vector getAccessRolesAdminCanAssign(TSContext tsCtx) throws SmApiException
Retrieves the access roles to which the subject of the task can be assigned by the current administrator.
tsCtx
- Context information about the current task, such as
the subject of the task and the administrator who is executing the task.
SmApiException
java.util.Vector getAccessRolesAdminCanManageAdmin(TSContext tsCtx) throws SmApiException
Retrieves the access roles for which the current administrator can assign administrator rights.
tsCtx
- Context information about the current task, such as
the administrator who is executing the task.
SmApiException
java.util.Vector getAccessRolesAdminCanManageMembers(TSContext tsCtx) throws SmApiException
Retrieves the access roles to which a user can be assigned by the current administrator.
tsCtx
- Context information about the current task, such as
the administrator who is executing the task.
SmApiException
|
Java SDK r12.5 SP 8 06/13/2011 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |