org.apache.jetspeed.security
Class PagePermission

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

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
 
Constructor Summary
PagePermission(String name, int mask)
          Constructor for PagePermission.
PagePermission(String name, String actions)
          Constructor for PagePermission.
 
Method Summary
 boolean equals(Object object)
           
 boolean implies(Permission permission)
           
 
Methods inherited from class org.apache.jetspeed.security.PortalResourcePermission
getActions, hashCode, newPermissionCollection, parseActions
 
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,
                      int mask)

Constructor for PagePermission.

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

implies

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

equals

public boolean equals(Object object)
Specified by:
equals in class Permission
See Also:
Permission.equals(Object)


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