java.lang.Object
org.acegisecurity.acl.AclProviderManager
- All Implemented Interfaces:
- AclManager, org.springframework.beans.factory.InitializingBean
- public class AclProviderManager
- extends java.lang.Object
- implements AclManager, org.springframework.beans.factory.InitializingBean
Iterates through a list of AclProviders to locate the ACLs that
apply to a given domain object instance.
If no compatible provider is found, it is assumed that no ACLs apply for the
specified domain object instance and null is returned.
- Version:
- $Id: AclProviderManager.java,v 1.4 2005/11/17 00:55:51 benalex Exp $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
private static final org.apache.commons.logging.Log logger
providers
private java.util.List providers
AclProviderManager
public AclProviderManager()
getAcls
public AclEntry[] getAcls(java.lang.Object domainInstance)
- Description copied from interface:
AclManager
- Obtains the ACLs that apply to the specified domain instance.
- Specified by:
getAcls in interface AclManager
getAcls
public AclEntry[] getAcls(java.lang.Object domainInstance,
org.acegisecurity.Authentication authentication)
- Description copied from interface:
AclManager
- Obtains the ACLs that apply to the specified domain instance, but only
including those ACLs which have been granted to the presented
Authentication object
- Specified by:
getAcls in interface AclManager
setProviders
public void setProviders(java.util.List newList)
- Sets the AclProvider objects to be used for ACL determinations.
getProviders
public java.util.List getProviders()
afterPropertiesSet
public void afterPropertiesSet()
throws java.lang.Exception
- Description copied from interface:
org.springframework.beans.factory.InitializingBean
- Invoked by a BeanFactory after it has set all bean properties supplied
(and satisfied BeanFactoryAware and ApplicationContextAware).
This method allows the bean instance to perform initialization only
possible when all bean properties have been set and to throw an
exception in the event of misconfiguration.
- Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
checkIfValidList
private void checkIfValidList(java.util.List listToCheck)