|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.security.Permission org.jboss.portal.security.PortalPermission org.jboss.portal.portlet.security.PortletPermission
The permission for instance.
Field Summary | |
private static java.lang.String[] |
ACTION_NAMES
The action names. |
private java.lang.String |
actions
The actions string. |
private int |
mask
The imply mask. |
static java.lang.String |
PERMISSION_TYPE
. |
private static long |
serialVersionUID
The serialVersionUID |
static java.lang.String |
VIEW_ACTION
The view action name. |
static int |
VIEW_MASK
. |
Fields inherited from class org.jboss.portal.security.PortalPermission |
collection, uri |
Fields inherited from class java.security.Permission |
|
Constructor Summary | |
PortletPermission(PortalPermissionCollection collection)
|
|
PortletPermission(java.lang.String uri,
java.util.Collection actions)
|
|
PortletPermission(java.lang.String uri,
int mask)
|
|
PortletPermission(java.lang.String uri,
java.lang.String actions)
|
Method Summary | |
private void |
addAction(java.lang.String action)
|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getActions()
|
java.lang.String |
getType()
Return the portal permission type. |
int |
hashCode()
|
boolean |
implies(java.security.Permission permission)
|
boolean |
implies(PermissionRepository repository,
javax.security.auth.Subject caller,
java.lang.String roleName,
PortalPermission permission)
Implement the imply logic when we check the permission against a domain. |
Methods inherited from class org.jboss.portal.security.PortalPermission |
getURI, isContainer, newPermissionCollection |
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 |
Field Detail |
private static final long serialVersionUID
public static final java.lang.String VIEW_ACTION
public static final int VIEW_MASK
private int mask
private java.lang.String actions
public static final java.lang.String PERMISSION_TYPE
private static final java.lang.String[] ACTION_NAMES
Constructor Detail |
public PortletPermission(PortalPermissionCollection collection)
public PortletPermission(java.lang.String uri, int mask)
public PortletPermission(java.lang.String uri, java.util.Collection actions)
public PortletPermission(java.lang.String uri, java.lang.String actions)
Method Detail |
private void addAction(java.lang.String action) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public boolean implies(PermissionRepository repository, javax.security.auth.Subject caller, java.lang.String roleName, PortalPermission permission) throws PortalSecurityException
PortalPermission
implies
in class PortalPermission
repository
- caller
- permission
-
PortalSecurityException
public boolean implies(java.security.Permission permission)
public boolean equals(java.lang.Object obj)
public int hashCode()
public java.lang.String getActions()
public java.lang.String getType()
PortalPermission
getType
in class PortalPermission
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |