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

HierarchyAuthorizationDomain - JBOSS Portal 2.4 API 英文版文档


org.jboss.portal.test.security
Class HierarchyAuthorizationDomain

java.lang.Object
  extended byorg.jboss.portal.test.security.BaseAuthorizationDomain
      extended byorg.jboss.portal.test.security.HierarchyAuthorizationDomain
All Implemented Interfaces:
AuthorizationDomain, DomainConfigurator, PermissionFactory, PermissionRepository

public class HierarchyAuthorizationDomain
extends BaseAuthorizationDomain
implements PermissionFactory


Field Summary
static java.lang.String PERMISSION_TYPE
          .
 
Constructor Summary
HierarchyAuthorizationDomain()
           
 
Method Summary
 PortalPermission createPermission(java.lang.String uri, java.util.Collection actions)
           
 PortalPermission createPermission(java.lang.String uri, java.lang.String actions)
           
 PortalPermission createPermissionContainer(PortalPermissionCollection collection)
           
 PermissionFactory getPermissionFactory()
          The permission repository.
 java.lang.String getType()
          The domain type.
 
Methods inherited from class org.jboss.portal.test.security.BaseAuthorizationDomain
getBindings, getConfigurator, getPermission, getPermissionRepository, removeBindings, setBindings
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PERMISSION_TYPE

public static final java.lang.String PERMISSION_TYPE
.

See Also:
Constant Field Values
Constructor Detail

HierarchyAuthorizationDomain

public HierarchyAuthorizationDomain()
Method Detail

getType

public java.lang.String getType()
Description copied from interface: AuthorizationDomain
The domain type.

Specified by:
getType in interface AuthorizationDomain

getPermissionFactory

public PermissionFactory getPermissionFactory()
Description copied from interface: AuthorizationDomain
The permission repository.

Specified by:
getPermissionFactory in interface AuthorizationDomain

createPermissionContainer

public PortalPermission createPermissionContainer(PortalPermissionCollection collection)
Specified by:
createPermissionContainer in interface PermissionFactory

createPermission

public PortalPermission createPermission(java.lang.String uri,
                                         java.lang.String actions)
Specified by:
createPermission in interface PermissionFactory

createPermission

public PortalPermission createPermission(java.lang.String uri,
                                         java.util.Collection actions)
                                  throws PortalSecurityException
Specified by:
createPermission in interface PermissionFactory
Throws:
PortalSecurityException