|
uPortal 2.4.1 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface for retrieving IAuthorizationPrincipals
and
their Permissions
on behalf of a Permission
owner.
Method Summary | |
IPermission[] |
getAllPermissions(IAuthorizationPrincipal principal,
java.lang.String activity,
java.lang.String target)
Returns IPermissions granted to the IAuthorizationPrincipal
by the owner of this IPermissionManager , for the given activity
and target . |
IAuthorizationPrincipal[] |
getAuthorizedPrincipals(java.lang.String activity,
java.lang.String target)
Returns IAuthorizationPrincipals granted Permissions
by the owner of this IPermissionManager , for the given activity
and target . |
java.lang.String |
getOwner()
|
IPermission[] |
getPermissions(IAuthorizationPrincipal principal,
java.lang.String activity,
java.lang.String target)
Returns IPermissions granted to the IAuthorizationPrincipal
by the owner of this IPermissionManager , for the given activity
and target . |
IPermission[] |
getPermissions(java.lang.String activity,
java.lang.String target)
Retrieve an array of IPermission objects based on the given parameters. |
Method Detail |
public IPermission[] getAllPermissions(IAuthorizationPrincipal principal, java.lang.String activity, java.lang.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
public IAuthorizationPrincipal[] getAuthorizedPrincipals(java.lang.String activity, java.lang.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
AuthorizationException
public java.lang.String getOwner()
public IPermission[] getPermissions(java.lang.String activity, java.lang.String target) throws AuthorizationException
activity
- Stringtarget
- String
AuthorizationException
public IPermission[] getPermissions(IAuthorizationPrincipal principal, java.lang.String activity, java.lang.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
|
uPortal 2.4.1 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |