|
Java SDK r12.5 SP 8 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AccessControlProvider
Provides access to the access roles and admin roles in all accessible Identity Manager environments, and to all the Identity Manager environments in a specified SiteMinder user directory.
To retrieve roles from the current Identity Manager environment only, useAccessRoleProvider
or
AdminRoleProvider
.
ProviderAccessor
.
AccessControlProvider
, 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 | |
---|---|
java.util.Vector |
getImsEnvironmentsBySmDirectory(java.lang.String smDirOID)
Retrieves a Vector of the available Identity Manager environments that are associated with a particular Identity Manager directory, which, in turn, is based on the specified SiteMinder user directory. |
Role |
getRole(java.lang.String uniqueName)
Retrieves an admin role or an access role by unique name. |
java.util.Vector |
getRoleDisplayData(java.util.Vector roleUniqueNames)
Retrieves information about the specified roles, based on their unique names. |
java.util.Vector |
getUserAccessRoles(java.lang.String smDirOID,
java.lang.String userUniqueName)
Retrieves the names of all access roles to which the specified user is assigned in all accessible environments. |
java.util.Vector |
getUserAdminRoles(java.lang.String smDirOID,
java.lang.String userUniqueName)
Retrieves the names of all admin roles to which the specified user is assigned in all accessible environments. |
Method Detail |
---|
java.util.Vector getImsEnvironmentsBySmDirectory(java.lang.String smDirOID) throws SmApiException
smDirOID
- The unique name (OID) of the SiteMinder user directory to search.
com.netegrity.sdk.apiutil.SmApiException
SmApiException
Role getRole(java.lang.String uniqueName) throws SmApiException
Retrieves an admin role or an access role by unique name.
This method is useful when you know the unique name of the role to retrieve, but you do not know what Identity Manager environment it is in.
name
- The unique name of the role to retrieve.
com.netegrity.llsdk6.imsapi.exception.NoSuchObjectException
- if the
object can not be found.
SmApiException
java.util.Vector getRoleDisplayData(java.util.Vector roleUniqueNames) throws SmApiException
Retrieves information about the specified roles, based on their unique names.
Identity Manager includes this information when displaying a list of roles.
roleUniqueNames
- A Vector of Strings containing the unique names of roles.
RoleDisplayData
objects.
SmApiException
java.util.Vector getUserAccessRoles(java.lang.String smDirOID, java.lang.String userUniqueName) throws SmApiException
Retrieves the names of all access roles to which the specified user is assigned in all accessible environments. The user is specified by the combination of a SiteMinder user directory identifier and a user identifier within that directory.
smDirOID
- The unique name (OID) of the user's SiteMinder user directory.userUniqueName
- The user's unique identifier within the specified directory.
SmApiException
java.util.Vector getUserAdminRoles(java.lang.String smDirOID, java.lang.String userUniqueName) throws SmApiException
Retrieves the names of all admin roles to which the specified user is assigned in all accessible environments. The user is specified by the combination of a SiteMinder user directory identifier and a user identifier within that directory.
smDirOID
- The unique name (OID) of the user's SiteMinder user directory.userUniqueName
- The user's unique identifier within the specified directory.
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 |