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

FlatAuthorizationDomain - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.test.security
Class FlatAuthorizationDomain

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

public class FlatAuthorizationDomain
extends BaseAuthorizationDomain
implements PermissionFactory

Version:
$Revision: 5448 $
Author:
Julien Viet

Field Summary
 
Fields inherited from class org.jboss.portal.test.security.BaseAuthorizationDomain
 
Constructor Summary
FlatAuthorizationDomain()
           
 
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
getConfigurator, getPermission, getPermissionRepository, getSecurityBindings, removeSecurityBindings, setSecurityBindings
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlatAuthorizationDomain

public FlatAuthorizationDomain()
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