org.apache.jetspeed.security
Class PagePermission

java.lang.Object
  extended byjava.security.Permission
      extended byorg.apache.jetspeed.security.PortalResourcePermission
          extended byorg.apache.jetspeed.security.PagePermission
All Implemented Interfaces:
Guard, Serializable

public class PagePermission
extends PortalResourcePermission

Folder permission.

This code was partially inspired from articles from:

Author:
David Sean Taylor
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.jetspeed.security.PortalResourcePermission
mask, subject
 
Fields inherited from class java.security.Permission
 
Constructor Summary
PagePermission(String name, String actions)
          Constructor for PagePermission.
PagePermission(String name, String actions, Subject subject)
          Constructor for PagePermission.
 
Method Summary
 boolean implies(Permission permission)
           
 PermissionCollection newPermissionCollection()
          Overrides Permission.newPermissionCollection().
 
Methods inherited from class org.apache.jetspeed.security.PortalResourcePermission
equals, getActions, getSubject, hashCode
 
Methods inherited from class java.security.Permission
checkGuard, getName, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PagePermission

public PagePermission(String name,
                      String actions)

Constructor for PagePermission.

Parameters:
name - The portlet name.
actions - The actions on the portlet.

PagePermission

public PagePermission(String name,
                      String actions,
                      Subject subject)

Constructor for PagePermission.

Parameters:
name - The portlet name.
actions - The actions on the portlet.
Method Detail

implies

public boolean implies(Permission permission)
Overrides:
implies in class PortalResourcePermission

newPermissionCollection

public PermissionCollection newPermissionCollection()

Overrides Permission.newPermissionCollection().

See Also:
Permission.newPermissionCollection()


Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.