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

AclProvider (JBoss Seam API Documentation) - JBoss Seam 1.1.1 API 英文版文档


org.jboss.seam.security.acl
Class AclProvider

java.lang.Object
  extended by org.jboss.seam.security.acl.AclProvider

public abstract class AclProvider
extends Object

Provides a list of Acls for an object.

Author:
Shane Bryzak

Nested Class Summary
static class AclProvider.RecipientType
           
 
Constructor Summary
AclProvider()
           
 
Method Summary
protected  Set<Permission> convertToPermissions(Principal principal, Object target, Object perms)
           
 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

AclProvider

public AclProvider()
Method Detail

getAcls

public Acl getAcls(Object obj)
Return all Acls for the specified object.

Parameters:
obj - Object
Returns:
Acl

getAcls

public Acl getAcls(Object obj,
                   Principal principal)
Return all Acls for the specified object that apply to the specified Principal.

Parameters:
obj - Object
principal - Principal
Returns:
Acl

internalGetAcls

protected Acl internalGetAcls(Object obj,
                              Principal principal)

convertToPermissions

protected Set<Permission> convertToPermissions(Principal principal,
                                               Object target,
                                               Object perms)

getPermissions

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

getPermissions

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