|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.security.PermissionCollection
org.jboss.portal.security.PortalPermissionCollection
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.
| Constructor Summary | |
PortalPermissionCollection(AuthorizationDomain repository)
Create a new portal permission collection. |
|
| Method Summary | |
void |
add(java.security.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 java.util.Enumeration |
elements()
|
abstract java.lang.String |
getRoleName()
Return the role name attached to the collection. |
boolean |
implies(java.security.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). |
| Methods inherited from class java.security.PermissionCollection |
isReadOnly, setReadOnly, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public PortalPermissionCollection(AuthorizationDomain repository)
throws java.lang.IllegalArgumentException
repository - the repository to load the permissions from
java.lang.IllegalArgumentException - if any argument is null| Method Detail |
public final void add(java.security.Permission permission)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException - if the added permission is not the owner of this collectionpublic boolean implies(java.security.Permission permission)
public abstract java.util.Enumeration elements()
public abstract java.lang.String getRoleName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||