|
Java SDK r12.5 SP 8 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AdminRoleProvider
Lets you create or retrieve admin roles in the current Identity Manager environment.
To retrieve admin roles from multiple Identity Manager environments, useAccessControlProvider
.
ProviderAccessor
.
Role
.
AdminRoleProvider
are accessed for reading purposes only. However, on occassion, business logic task handlers
and event listeners may need to modify objects retrieved through
AdminRoleProvider
.
AdminRoleProvider
, 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 | |
---|---|
AdminRole |
createAdminRole(java.lang.String name,
java.lang.String description,
boolean enabled,
boolean assignable,
boolean adminAssignable)
Creates a configured admin role. |
AdminRole |
findAdminRole(java.lang.String friendlyName)
Retrieves the specified admin role, using the role's friendly name. |
AdminRole |
getAdminRole(java.lang.String uniqueName)
Retrieves the specified admin role, using the role's unique name. |
java.util.Vector |
getAdminRoles()
Retrieves all the admin roles in the Identity Manager environment. |
java.util.Vector |
getAdminRolesAdminCanAssign(TSContext tsCtx)
Retrieves the admin roles to which the subject of the task can be assigned by the current administrator. |
java.util.Vector |
getAdminRolesAdminCanGrantAdmin(TSContext tsCtx)
Retrieves the admin roles for which the subject of the task can be assigned administrator rights by the current administrator. |
java.util.Vector |
getAdminRolesAdminCanGrantAdmin(TSContext tsCtx,
java.util.Vector rolesToSearch)
Returns roles from the given list that the admin can make users role admins. |
java.util.Vector |
getAdminRolesAdminCanManageAdmin(TSContext tsCtx)
Retrieves the admin roles for which the current administrator can assign administrator rights. |
java.util.Vector |
getAdminRolesAdminCanManageMembers(TSContext tsCtx)
Retrieves the admin roles for which the current administrator has administrator privileges. |
java.util.Vector |
getAdminRolesAdminCanManageMembers(TSContext tsCtx,
java.util.Vector rolesToSearch)
Returns roles from the given list that the admin can make users role members. |
java.util.Vector |
getAdminRolesAdminHasContainingTask(User admin,
AdminTask task)
Retrieves the admin roles that the specified administrator is assigned to and that contain the specified task. |
java.util.Vector |
getAdminRolesContainingTask(AdminTask task)
Retrieves the admin roles that contain the specified admin task. |
Role |
getRole(java.lang.String uniqueName)
Find any (admin/access/provisioning) role by unique name |
java.util.Vector |
searchAdminRoles(RoleObjectQuery query)
Searches for a subset of the admin roles in the Identity Manager environment. |
Method Detail |
---|
AdminRole createAdminRole(java.lang.String name, java.lang.String description, boolean enabled, boolean assignable, boolean adminAssignable) throws com.netegrity.sdk.apiutil.SmApiException
Creates a configured admin role.
name
- The friendly name for the role
(must not be null
).description
- The description of the role
(can be null
).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
AdminRole getAdminRole(java.lang.String uniqueName) throws com.netegrity.sdk.apiutil.SmApiException, NoSuchObjectException
Retrieves the specified admin role, using the role's unique name.
uniqueName
- The unique name of the admin role to retrieve.
NoSuchObjectException
- if the object cannot be found.
com.netegrity.sdk.apiutil.SmApiException
AdminRole findAdminRole(java.lang.String friendlyName) throws SmApiException, NoSuchObjectException
Retrieves the specified admin role, using the role's friendly name.
friendlyName
- The friendly name of the admin role to retrieve.
NoSuchObjectException
- if the object cannot be found.
SmApiException
java.util.Vector getAdminRoles() throws com.netegrity.sdk.apiutil.SmApiException
Retrieves all the admin roles in the Identity Manager environment.
com.netegrity.sdk.apiutil.SmApiException
java.util.Vector getAdminRolesAdminCanGrantAdmin(TSContext tsCtx, java.util.Vector rolesToSearch) throws SmApiException
tsCtx
- rolesToSearch
- collection of SmApiException
java.util.Vector getAdminRolesAdminCanManageMembers(TSContext tsCtx, java.util.Vector rolesToSearch) throws SmApiException
tsCtx
- rolesToSearch
- collection of SmApiException
java.util.Vector searchAdminRoles(RoleObjectQuery query) throws com.netegrity.sdk.apiutil.SmApiException
Searches for a subset of the admin roles in the Identity Manager environment.
query
- The search filter.
com.netegrity.sdk.apiutil.SmApiException
java.util.Vector getAdminRolesContainingTask(AdminTask task) throws com.netegrity.sdk.apiutil.SmApiException
Retrieves the admin roles that contain the specified admin task.
task
- The admin task contained in the admin roles to retrieve.
com.netegrity.sdk.apiutil.SmApiException
java.util.Vector getAdminRolesAdminHasContainingTask(User admin, AdminTask task) throws com.netegrity.sdk.apiutil.SmApiException
Retrieves the admin roles that the specified administrator is assigned to and that contain the specified task.
This method disregards the subject of the current task.
admin
- The administrator who is assigned to the roles to retrieve.task
- The admin task contained in the roles to retrieve.
com.netegrity.sdk.apiutil.SmApiException
java.util.Vector getAdminRolesAdminCanAssign(TSContext tsCtx) throws com.netegrity.sdk.apiutil.SmApiException
Retrieves the admin 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.
com.netegrity.sdk.apiutil.SmApiException
java.util.Vector getAdminRolesAdminCanManageMembers(TSContext tsCtx) throws com.netegrity.sdk.apiutil.SmApiException
Retrieves the admin roles for which the current administrator has administrator privileges.
Only admin roles that are member-assignable are returned.
tsCtx
- Context information about the current task, such as
the administrator who is executing the task.
com.netegrity.sdk.apiutil.SmApiException
java.util.Vector getAdminRolesAdminCanGrantAdmin(TSContext tsCtx) throws com.netegrity.sdk.apiutil.SmApiException
Retrieves the admin 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.
com.netegrity.sdk.apiutil.SmApiException
java.util.Vector getAdminRolesAdminCanManageAdmin(TSContext tsCtx) throws com.netegrity.sdk.apiutil.SmApiException
Retrieves the admin 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.
com.netegrity.sdk.apiutil.SmApiException
Role getRole(java.lang.String uniqueName) throws com.netegrity.sdk.apiutil.SmApiException
Find any (admin/access/provisioning) role by unique name
uniqueName
- unique name of the role to be retrieved
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 |