org.jasig.portal.security.provider
Class PermissionSetImpl
java.lang.Object
org.jasig.portal.security.provider.PermissionSetImpl
- All Implemented Interfaces:
- IBasicEntity, IPermissionSet
public class PermissionSetImpl
- extends Object
- implements IPermissionSet
- Version:
- $Revision: 19776 $
Aggregates
IPermissions for a single
IAuthorizationPrincipal so that the permissions can be
cached as a unit by the EntityCachingService.
Separating caching of principals and permissions lets a client keep
a reference to a principal over time while being guaranteed the
latest version of its permissions.
- Author:
- Dan Ellentuck, de3@columbia.edu
PermissionSetImpl
public PermissionSetImpl(IPermission[] perms,
IAuthorizationPrincipal principal)
PermissionSetImpl
public PermissionSetImpl(IPermission[] perms,
String key,
Class type)
getPermissions
public IPermission[] getPermissions()
- Specified by:
getPermissions in interface IPermissionSet
- Returns:
- IPermission[]
getEntityIdentifier
public EntityIdentifier getEntityIdentifier()
- Specified by:
getEntityIdentifier in interface IBasicEntity
- Returns:
- EntityIdentifier IPermission[]
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2010 Jasig. All Rights Reserved.