站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.4 API 英文版文档

DomainImplyFailsPermission - JBOSS Portal 2.4 API 英文版文档


org.jboss.portal.test.security
Class DomainImplyFailsPermission

java.lang.Object
  extended byjava.security.Permission
      extended byorg.jboss.portal.security.PortalPermission
          extended byorg.jboss.portal.test.security.FlatPermission
              extended byorg.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.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.portal.test.security.FlatPermission
PERMISSION_TYPE
 
Fields inherited from class org.jboss.portal.security.PortalPermission
collection, uri
 
Constructor Summary
DomainImplyFailsPermission(PortalPermissionCollection collection, java.lang.Throwable throwable)
           
DomainImplyFailsPermission(java.lang.String uri)
           
 
Method Summary
 java.lang.String getType()
          Return the portal permission type.
 boolean implies(AuthorizationDomain repository, java.lang.String roleName, PortalPermission permission)
           
 
Methods inherited from class org.jboss.portal.test.security.FlatPermission
equals, getActions, hashCode, implies, implies
 
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
 

Constructor Detail

DomainImplyFailsPermission

public DomainImplyFailsPermission(PortalPermissionCollection collection,
                                  java.lang.Throwable throwable)

DomainImplyFailsPermission

public DomainImplyFailsPermission(java.lang.String uri)
Method Detail

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