当前页面: 
在线文档首页 > 
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
  
org.jboss.seam.security.acl.AclProvider
public abstract class AclProvider
- extends Object
 
Provides a list of Acls for an object.
- Author:
 
  - Shane Bryzak
 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
AclProvider
public AclProvider()
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 - Objectprincipal - 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)