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:
- java.io.Serializable, java.security.Guard
public class PortletPermission
- extends PortalResourcePermission
Portlet permission.
This code was partially inspired from articles from:
- Author:
- David Le Strat
- See Also:
- Serialized Form
|
Constructor Summary |
PortletPermission(java.lang.String name,
int mask)
Constructor for PortletPermission. |
PortletPermission(java.lang.String name,
java.lang.String actions)
Constructor for PortletPermission. |
|
Method Summary |
boolean |
equals(java.lang.Object object)
|
boolean |
implies(java.security.Permission permission)
|
| 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 |
PortletPermission
public PortletPermission(java.lang.String name,
java.lang.String actions)
Constructor for PortletPermission.
- Parameters:
name - The portlet name.actions - The actions on the portlet.
PortletPermission
public PortletPermission(java.lang.String name,
int mask)
Constructor for PortletPermission.
- Parameters:
name - The portlet name.mask - The mask of actions on the portlet.
implies
public boolean implies(java.security.Permission permission)
- Overrides:
implies in class PortalResourcePermission
equals
public boolean equals(java.lang.Object object)
- Specified by:
equals in class java.security.Permission
- See Also:
Permission.equals(Object)
Copyright © 1999-2010 Apache Software Foundation. All Rights Reserved.