|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ISecRightsQueryAdmin
The interface for rights query adminstration. The methods defined here corresponds to administrative security queries through which a logged on user tries to query for admin security info from the server that require administrative rights from the user. Use ISecCacheController to query and cache the security info first then use this interface to retrieve the result from the cached information. Without caching the query result through ISecCacheController first or retrieving after the cached result has expired will result in round trip queries to the server for each query. The default interval for cache age is 1 minute.
| Method Summary | |
|---|---|
ISecurityResult |
checkLimit(int limitID,
java.lang.Object rightKind,
int principalID,
int objectID)
Checks the limit (long right) of a principal on a given object |
int |
checkRight(int rightID,
java.lang.Object rightKind,
int principalID,
int objectID)
Deprecated. since 12.0 SP1. Use checkRight(RightDescriptor right, int principalID, int objectID) instead |
int |
checkRight(RightDescriptor right,
int principalID,
int objectID)
Checks the boolean right of a principal on a given object |
ISecurityResult |
getExplicitLimits(int objectID)
Gets the explicit limits (long rights) associated with the object |
ISecurityResult |
getExplicitPrincipals(int objectID)
Get list of principals that have explicit security info (rights, limits, roles) on the object |
ISecurityResult |
getExplicitRights(int objectID)
Gets the explicit boolean rights associated with the object |
ISecurityResult |
getExplicitRoles(int objectID)
Gets the explicit roles associated with the object |
ISecurityResult |
getKnownLimits(int objectID)
Deprecated. This method returns a set of unique right IDs applicable to the given object, which do not contain plugin info and hide plugin override of a right description. Use getKnownRightsByPlugin instead. |
ISecurityResult |
getKnownRights(int objectID)
Deprecated. This method returns a set of unique right IDs applicable to the given object, which do not contain plugin info and hide plugin override of a right description. Use getKnownRightsByPlugin instead. |
ISecurityResult |
getKnownRightsByPlugin(int objectID)
Gets the known rights and limits of an object grouped by plugin types |
ISecurityResult |
getKnownRoles()
Gets the list of known custom roles in the system |
ISecurityResult |
getPrincipals(int objectID)
Gets the list of principals that have effective security info (rights, limits, roles) on the object |
ISecurityResult |
getSecurityInfo(int objectID)
Gets the security info (all the effective principals, rights and roles) associated with the object |
ISecurityResult |
getSecurityInfo(int objectID,
int principalID)
Gets the security info (all the effective rights, limits and roles) associated with the object for a given principal |
| Method Detail |
|---|
int checkRight(int rightID,
java.lang.Object rightKind,
int principalID,
int objectID)
throws SDKException
rightID - Right being accessedrightKind - Plugin kind the right is defined for. Can be the integer object type or the object kind string.principalID - Principal the right applies toobjectID - Object the right applies to
ISecurityResult indicating the status of the security request
SDKException
int checkRight(RightDescriptor right,
int principalID,
int objectID)
throws SDKException
right - Right being accessedprincipalID - Principal the right applies toobjectID - Object the right applies to
ISecurityResult indicating the status of the security request
SDKException
ISecurityResult checkLimit(int limitID,
java.lang.Object rightKind,
int principalID,
int objectID)
throws SDKException
limitID - Limit being accessedrightKind - Plugin kind the right is defined for. Can be the integer object type or the object kind string.principalID - Principal the limit applies toobjectID - Object the limit applies to
ISecurityResult indicating the status of the security request and the returned result
if the request is processed successfully. ISecurityResult.getResult returns ILimitResult
SDKException
ISecurityResult getExplicitRoles(int objectID)
throws SDKException
objectID - Object the role applies to
ISecurityResult indicating the status of the security request and the returned result
if the request is processed successfully. ISecurityResult.getResult returns an array of
ISecurityRoleAdmin
SDKException
ISecurityResult getExplicitRights(int objectID)
throws SDKException
objectID - Object the right applies to
ISecurityResult indicating the status of the security request and the returned result
if the request is processed successfully. ISecurityResult.getResult returns an array of
ISecurityRightAdmin
SDKException
ISecurityResult getExplicitLimits(int objectID)
throws SDKException
objectID - Object the right applies to
ISecurityResult indicating the status of the security request and the returned result
if the request is processed successfully. ISecurityResult.getResult returns an array of
ISecurityLimitAdmin
SDKException
ISecurityResult getSecurityInfo(int objectID)
throws SDKException
objectID - Object the security info applies to
ISecurityResult indicating the status of the security request and the returned result
if the request is processed successfully. ISecurityResult.getResult returns ISecurityInfoResult
SDKException
ISecurityResult getSecurityInfo(int objectID,
int principalID)
throws SDKException
objectID - Object the security info applies toprincipalID - Principal the security info applies to
ISecurityResult indicating the status of the security request and the returned result
if the request is processed successfully. ISecurityResult.getResult returns ISecurityInfoResult
SDKException
ISecurityResult getPrincipals(int objectID)
throws SDKException
objectID - Object whose principal list is retrieved
ISecurityResult indicating the status of the security request and the returned result
if the request is processed successfully. ISecurityResult.getResult returns an array of
ISecurityPrincipal
SDKException
ISecurityResult getExplicitPrincipals(int objectID)
throws SDKException
objectID - Object whose principal list is retrieved
ISecurityResult indicating the status of the security request and the returned result
if the request is processed successfully. ISecurityResult.getResult returns an array of
ISecurityPrincipal
SDKException
ISecurityResult getKnownRights(int objectID)
throws SDKException
SDKException
ISecurityResult getKnownLimits(int objectID)
throws SDKException
SDKException
ISecurityResult getKnownRoles()
throws SDKException
ISecurityResult indicating the status of the security request and the returned result
if the request is processed successfully. ISecurityResult.getResult returns an array of IRoleID
SDKException
ISecurityResult getKnownRightsByPlugin(int objectID)
throws SDKException
objectID - Object ID
ISecurityResult indicating the status of the security request and the returned result
if the request is processed successfully. ISecurityResult.getResult returns IPluginBasedRightIDs
SDKException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||