| |
|
| java.lang.Object java.security.PermissionCollection org.jboss.portal.security.PortalPermissionCollection
All known Subclasses: org.jboss.portal.security.impl.jacc.JACCPortalPermissionCollection,
PortalPermissionCollection | abstract public class PortalPermissionCollection extends PermissionCollection (Code) | | This class is a litteral reference to a portal permission repository. Subclasses should implement the implies logic
and leverage the repository to get the role.
author: Julien Viet version: $Revision: 8784 $ |
Method Summary | |
final public void | add(Permission permission) The only time this method is called is when JACC creates an instance of this object in order to add the owner
permission to the collection. | abstract public Enumeration | elements() | abstract public Subject | getCheckedSubject() Return the subject being checked or null if there is none. | abstract public String | getRoleName() Return the role name attached to the collection. | public boolean | implies(Permission permission) This implementation delegates to the container permission associated with this collection the logic of the check
against the repository using the method PortalPermission#implies(AuthorizationDomain,String,PortalPermission). |
add | final public void add(Permission permission) throws IllegalArgumentException(Code) | | The only time this method is called is when JACC creates an instance of this object in order to add the owner
permission to the collection.
throws: IllegalArgumentException - if the added permission is not the owner of this collection |
getCheckedSubject | abstract public Subject getCheckedSubject()(Code) | | Return the subject being checked or null if there is none.
the current subject |
getRoleName | abstract public String getRoleName()(Code) | | Return the role name attached to the collection.
the role name |
implies | public boolean implies(Permission permission)(Code) | | This implementation delegates to the container permission associated with this collection the logic of the check
against the repository using the method PortalPermission#implies(AuthorizationDomain,String,PortalPermission).
|
|
|
|