|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.security.Permission
org.apache.jetspeed.security.PortalResourcePermission
org.apache.jetspeed.security.PortletPermission
Portlet permission.
This code was partially inspired from articles from:
| Field Summary |
| Fields inherited from class org.apache.jetspeed.security.PortalResourcePermission |
mask, subject |
| Fields inherited from class java.security.Permission |
|
| Constructor Summary | |
PortletPermission(String name,
String actions)
Constructor for PortletPermission. |
|
PortletPermission(String name,
String actions,
Subject subject)
Constructor for PortletPermission. |
|
| 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 |
public PortletPermission(String name,
String actions)
Constructor for PortletPermission.
name - The portlet name.actions - The actions on the portlet.
public PortletPermission(String name,
String actions,
Subject subject)
Constructor for PortletPermission.
name - The portlet name.actions - The actions on the portlet.| Method Detail |
public boolean implies(Permission permission)
implies in class PortalResourcePermissionpublic PermissionCollection newPermissionCollection()
Overrides Permission.newPermissionCollection().
Permission.newPermissionCollection()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||