org.apache.jetspeed.security
Class PortletPermission
java.lang.Object
java.security.Permission
org.apache.jetspeed.security.PortalResourcePermission
org.apache.jetspeed.security.PortletPermission
- All Implemented Interfaces:
- Serializable, Guard
public class PortletPermission
- extends PortalResourcePermission
Portlet permission.
This code was partially inspired from articles from:
- Author:
- David Le Strat
- See Also:
- Serialized Form
PortletPermission
public PortletPermission(String name,
String actions)
Constructor for PortletPermission.
- Parameters:
name
- The portlet name.actions
- The actions on the portlet.
PortletPermission
public PortletPermission(String name,
int mask)
Constructor for PortletPermission.
- Parameters:
name
- The portlet name.mask
- The mask of actions on the portlet.
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.