public class AclProviderManager extends java.lang.Object implements AclManager, org.springframework.beans.factory.InitializingBean
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.
| Constructor and Description |
|---|
AclProviderManager()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Deprecated.
|
AclEntry[] |
getAcls(java.lang.Object domainInstance)
Deprecated.
Obtains the ACLs that apply to the specified domain instance.
|
AclEntry[] |
getAcls(java.lang.Object domainInstance,
Authentication authentication)
Deprecated.
Obtains the ACLs that apply to the specified domain instance, but only including those ACLs which have
been granted to the presented
Authentication object |
java.util.List |
getProviders()
Deprecated.
|
void |
setProviders(java.util.List newList)
Deprecated.
Sets the
AclProvider objects to be used for ACL determinations. |
public void afterPropertiesSet()
throws java.lang.Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanjava.lang.Exceptionpublic AclEntry[] getAcls(java.lang.Object domainInstance)
AclManagergetAcls in interface AclManagerdomainInstance - the instance for which ACL information is required (never null)null if no ACLs apply to the specified domain instancepublic AclEntry[] getAcls(java.lang.Object domainInstance, Authentication authentication)
AclManagerAuthentication objectgetAcls in interface AclManagerdomainInstance - the instance for which ACL information is required (never null)authentication - the prncipal for which ACL information should be filtered (never null)null) if no such ACLs are foundpublic java.util.List getProviders()
public void setProviders(java.util.List newList)
AclProvider objects to be used for ACL determinations.newList - that should be used for ACL determinationsjava.lang.IllegalArgumentException - if an invalid provider was included in the list