当前页面:
在线文档首页 >
JBOSS Portal 2.4 API 英文版文档
InstancePermission - JBOSS Portal 2.4 API 英文版文档
org.jboss.portal.core.model.instance
Class InstancePermission
java.lang.Object
java.security.Permission
org.jboss.portal.security.PortalPermission
org.jboss.portal.core.model.instance.InstancePermission
- All Implemented Interfaces:
- java.security.Guard, java.io.Serializable
- public final class InstancePermission
- extends PortalPermission
The permission for instance.
- See Also:
- Serialized Form
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 |
VIEW_ACTION
public static final java.lang.String VIEW_ACTION
- The view action name.
- See Also:
- Constant Field Values
VIEW_MASK
public static final int VIEW_MASK
- .
- See Also:
- Constant Field Values
PERMISSION_TYPE
public static final java.lang.String PERMISSION_TYPE
- .
- See Also:
- Constant Field Values
InstancePermission
public InstancePermission(PortalPermissionCollection collection)
InstancePermission
public InstancePermission(java.lang.String uri,
java.util.Collection actions)
InstancePermission
public InstancePermission(java.lang.String uri,
int mask)
InstancePermission
public InstancePermission(java.lang.String uri,
java.lang.String actions)
implies
public boolean implies(PermissionRepository repository,
java.lang.String roleName,
PortalPermission permission)
throws PortalSecurityException
- Description copied from class:
PortalPermission
- Implement the imply logic when we check the permission against a domain.
- Specified by:
implies
in class PortalPermission
- Parameters:
repository
- permission
-
- Returns:
- true if the permission is implied
- Throws:
PortalSecurityException
implies
public boolean implies(java.security.Permission permission)
equals
public boolean equals(java.lang.Object obj)
hashCode
public int hashCode()
getActions
public java.lang.String getActions()
getType
public java.lang.String getType()
- Description copied from class:
PortalPermission
- Return the portal permission type.
- Specified by:
getType
in class PortalPermission
- Returns:
- the portal permission type