站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss Seam 1.1.0 bate1 API 英文版文档

AbstractAclProvider (JBoss Seam API Documentation) - JBoss Seam 1.1.0 bate1 API 英文版文档


org.jboss.seam.security.acl
Class AbstractAclProvider

java.lang.Object
  extended by org.jboss.seam.security.acl.AbstractAclProvider
All Implemented Interfaces:
AclProvider

public abstract class AbstractAclProvider
extends Object
implements AclProvider

Abstract base implementation of AclProvider

Author:
Shane Bryzak

Constructor Summary
AbstractAclProvider()
           
 
Method Summary
 Acl getAcls(Object obj)
          Return all Acls for the specified object.
 Acl getAcls(Object obj, Principal principal)
          Return all Acls for the specified object that apply to the specified Principal.
protected abstract  Map<Principal,Set<Permission>> getPermissions(Object obj)
           
protected abstract  Set<Permission> getPermissions(Object obj, Principal principal)
           
protected  Acl internalGetAcls(Object obj, Principal principal)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractAclProvider

public AbstractAclProvider()
Method Detail

getAcls

public Acl getAcls(Object obj)
Description copied from interface: AclProvider
Return all Acls for the specified object.

Specified by:
getAcls in interface AclProvider
Parameters:
obj - Object
Returns:
Acl

getAcls

public Acl getAcls(Object obj,
                   Principal principal)
Description copied from interface: AclProvider
Return all Acls for the specified object that apply to the specified Principal.

Specified by:
getAcls in interface AclProvider
Parameters:
obj - Object
principal - Principal
Returns:
Acl

internalGetAcls

protected Acl internalGetAcls(Object obj,
                              Principal principal)

getPermissions

protected abstract Set<Permission> getPermissions(Object obj,
                                                  Principal principal)

getPermissions

protected abstract Map<Principal,Set<Permission>> getPermissions(Object obj)