|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IPermissionManager
An interface for retrieving IAuthorizationPrincipals and
their Permissions on behalf of a Permission owner.
| Method Summary | |
|---|---|
IPermission[] |
getAllPermissions(IAuthorizationPrincipal principal,
String activity,
String target)
Returns IPermissions granted to the IAuthorizationPrincipal
by the owner of this IPermissionManager, for the given activity
and target. |
IAuthorizationPrincipal[] |
getAuthorizedPrincipals(String activity,
String target)
Returns IAuthorizationPrincipals granted Permissions
by the owner of this IPermissionManager, for the given activity
and target. |
String |
getOwner()
|
IPermission[] |
getPermissions(IAuthorizationPrincipal principal,
String activity,
String target)
Returns IPermissions granted to the IAuthorizationPrincipal
by the owner of this IPermissionManager, for the given activity
and target. |
IPermission[] |
getPermissions(String activity,
String target)
Retrieve an array of IPermission objects based on the given parameters. |
| Method Detail |
|---|
IPermission[] getAllPermissions(IAuthorizationPrincipal principal,
String activity,
String target)
throws AuthorizationException
IPermissions granted to the IAuthorizationPrincipal
by the owner of this IPermissionManager, for the given activity
and target. This includes inherited IPermissions. If any
parameter is null, it is ignored.
principal - IAuthorizationPrincipalactivity - String - the Permission activitytarget - String - the Permission target
AuthorizationException
IAuthorizationPrincipal[] getAuthorizedPrincipals(String activity,
String target)
throws AuthorizationException
IAuthorizationPrincipals granted Permissions
by the owner of this IPermissionManager, for the given activity
and target. If either parameter is null, it is ignored.
activity - String - the Permission activitytarget - String - the Permission target
AuthorizationExceptionString getOwner()
IPermission[] getPermissions(String activity,
String target)
throws AuthorizationException
activity - Stringtarget - String
AuthorizationException
IPermission[] getPermissions(IAuthorizationPrincipal principal,
String activity,
String target)
throws AuthorizationException
IPermissions granted to the IAuthorizationPrincipal
by the owner of this IPermissionManager, for the given activity
and target. If any parameter is null, it is ignored.
principal - IAuthorizationPrincipalactivity - String - the Permission activitytarget - String - the Permission target
AuthorizationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||