当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
DomainImplyFailsPermission - JBOSS Portal 2.6 API 英文版文档
org.jboss.portal.test.security
Class DomainImplyFailsPermission
java.lang.Object
java.security.Permission
org.jboss.portal.security.PortalPermission
org.jboss.portal.test.security.FlatPermission
org.jboss.portal.test.security.DomainImplyFailsPermission
- All Implemented Interfaces:
- java.security.Guard, java.io.Serializable
- public class DomainImplyFailsPermission
- extends FlatPermission
A permission that always fail to its domain implication method by throwing exception.
- Version:
- $Revision: 5448 $
- Author:
- Julien Viet
- See Also:
- Serialized Form
Fields inherited from class java.security.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 |
serialVersionUID
private static final long serialVersionUID
- The serialVersionUID
- See Also:
- Constant Field Values
throwable
private java.lang.Throwable throwable
- What we throw.
DomainImplyFailsPermission
public DomainImplyFailsPermission(PortalPermissionCollection collection,
java.lang.Throwable throwable)
DomainImplyFailsPermission
public DomainImplyFailsPermission(java.lang.String uri)
implies
public boolean implies(AuthorizationDomain repository,
java.lang.String roleName,
PortalPermission permission)
throws PortalSecurityException
- Throws:
PortalSecurityException
getType
public java.lang.String getType()
- Description copied from class:
PortalPermission
- Return the portal permission type.
- Overrides:
getType
in class FlatPermission