|
Java SDK r12.5 SP 8 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Grantor
Defines an object that can act as role manager for a specified role. A role administrator can manage role members and other administrators as configured in the role -- for example, a role administrator can assign other objects to the role.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry<K,V> |
Method Summary | |
---|---|
void |
bindRoleGrantRights(Role role)
Deprecated. Deprecated in IdentityMinder 6.0. Use makeRoleAdministrator() . |
boolean |
hasRoleGrantRights(Role role)
Deprecated. Deprecated in IdentityMinder 6.0. Use isRoleAdministrator() . |
boolean |
isRoleAdministrator(Role role)
Determines whether the current user is role administrator for the specified role. |
void |
makeRoleAdministrator(Role role)
Allows the current user to act as role admnistrator for the specified role. |
void |
removeFromRoleAdministration(Role role)
Removes the current user as role administrator for the specified role. |
void |
unbindRoleGrantRights(Role role)
Deprecated. Deprecated in IdentityMinder 6.0. Use removeFromRoleAdministration() . |
Methods inherited from interface com.netegrity.llsdk6.imsapi.managedobject.ManagedObject |
---|
directAddAttributeValue, directRemoveAttributeValue, equals, fixUniqueNames, getImsDirectory, getImsEnvironment, getObjectType, getOrg, getOrg, getProvider, hashCode, move, persisted |
Methods inherited from interface com.netegrity.llsdk6.imsapi.abstractinterface.NamedObject |
---|
getFriendlyName, getUniqueName, toString |
Methods inherited from interface com.netegrity.llsdk6.imsapi.abstractinterface.ModifiableObject |
---|
modifyObject, modifyObject |
Methods inherited from interface java.util.Map |
---|
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
Method Detail |
---|
void bindRoleGrantRights(Role role) throws SmApiException
makeRoleAdministrator()
.
Bind rights to grant the specified role to this object
role
- The role for which the current object will have grant rights.
com.netegrity.llsdk6.imsapi.exception.DeletedObjectException
- - If this Grantor has already been deleted
com.netegrity.llsdk6.imsapi.exception.NoSessionException
- - If this Grantor is not connected to a session (i.e. isConnected() would return false).
SmApiException
void makeRoleAdministrator(Role role) throws SmApiException
Allows the current user to act as role admnistrator for the specified role.
A role administrator can manage role members and administrators as configured in the specified role.
role
- The role for which the user is being designated as role administrator.
com.netegrity.llsdk6.imsapi.exception.DeletedObjectException
- - If this Grantor has already been deleted
com.netegrity.llsdk6.imsapi.exception.NoSessionException
- - If this Grantor is not connected to a session (i.e. isConnected() would return false).
SmApiException
void unbindRoleGrantRights(Role role) throws SmApiException
removeFromRoleAdministration()
.
Unbind rights to grant this role from a given user.
role
- The Role from which this object is to be removed as a grantor.
com.netegrity.llsdk6.imsapi.exception.DeletedObjectException
- - If this Grantor has already been deleted
com.netegrity.llsdk6.imsapi.exception.NoSessionException
- - If this Grantor is not connected to a session (i.e. isConnected() would return false).
SmApiException
void removeFromRoleAdministration(Role role) throws SmApiException
Removes the current user as role administrator for the specified role.
role
- The role from which the current user is being removed as role administrator.
com.netegrity.llsdk6.imsapi.exception.DeletedObjectException
- - If this Grantor has already been deleted
com.netegrity.llsdk6.imsapi.exception.NoSessionException
- - If this Grantor is not connected to a session (i.e. isConnected() would return false).
SmApiException
boolean hasRoleGrantRights(Role role) throws SmApiException
isRoleAdministrator()
.
Find out if this occupant has grant rights to a specific role
role
- The Role to check grantor status on
com.netegrity.llsdk6.imsapi.exception.DeletedObjectException
- - If this Grantor has already been deleted
com.netegrity.llsdk6.imsapi.exception.NoSessionException
- - If this Grantor is not connected to a session (i.e. isConnected() would return false).
SmApiException
boolean isRoleAdministrator(Role role) throws SmApiException
Determines whether the current user is role administrator for the specified role.
role
- The role in question.
com.netegrity.llsdk6.imsapi.exception.DeletedObjectException
- - If this Grantor has already been deleted
com.netegrity.llsdk6.imsapi.exception.NoSessionException
- - If this Grantor is not connected to a session (i.e. isConnected() would return false).
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 |