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

PersistentAclProvider (JBoss Seam API Documentation) - JBoss Seam 1.1.0 cr1 API 英文版文档


org.jboss.seam.security.acl
Class PersistentAclProvider

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

@Intercept(value=NEVER)
@Scope(value=APPLICATION)
public class PersistentAclProvider
extends AbstractAclProvider

Persistent Acl provider.

Author:
Shane Bryzak

Nested Class Summary
protected static class PersistentAclProvider.PersistenceType
           
 
Nested classes/interfaces inherited from interface org.jboss.seam.security.acl.AclProvider
AclProvider.RecipientType
 
Field Summary
protected  PersistentAclProvider.PersistenceType persistenceType
           
 
Constructor Summary
PersistentAclProvider()
           
 
Method Summary
protected  void bindQueryParams(Object query, Object target, Principal principal)
           
protected  Set<Permission> convertToPermissions(Principal principal, Object target, Object perms)
           
protected  Object createAclQuery()
           
protected  Object executeQuery(Object query)
           
 String getAclQuery()
           
 Map<Principal,Set<Permission>> getPermissions(Object obj)
           
 Set<Permission> getPermissions(Object obj, Principal principal)
           
 Object getPersistenceContextManager()
           
 void setAclQuery(String aclQuery)
           
 void setPersistenceContextManager(Object value)
           
 
Methods inherited from class org.jboss.seam.security.acl.AbstractAclProvider
getAcls, getAcls, internalGetAcls
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

persistenceType

protected PersistentAclProvider.PersistenceType persistenceType
Constructor Detail

PersistentAclProvider

public PersistentAclProvider()
Method Detail

getPersistenceContextManager

public Object getPersistenceContextManager()

setPersistenceContextManager

public void setPersistenceContextManager(Object value)

getAclQuery

public String getAclQuery()

setAclQuery

public void setAclQuery(String aclQuery)

createAclQuery

protected Object createAclQuery()
                         throws Exception
Throws:
Exception

bindQueryParams

protected void bindQueryParams(Object query,
                               Object target,
                               Principal principal)

executeQuery

protected Object executeQuery(Object query)

convertToPermissions

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

getPermissions

public Set<Permission> getPermissions(Object obj,
                                      Principal principal)
Specified by:
getPermissions in class AbstractAclProvider

getPermissions

public Map<Principal,Set<Permission>> getPermissions(Object obj)
Specified by:
getPermissions in class AbstractAclProvider