|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.acegisecurity.acl.AclProviderManager
public class AclProviderManager
Iterates through a list of AclProvider
s 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 Summary | |
---|---|
AclProviderManager()
|
Method Summary | |
---|---|
void |
afterPropertiesSet()
|
AclEntry[] |
getAcls(java.lang.Object domainInstance)
Obtains the ACLs that apply to the specified domain instance. |
AclEntry[] |
getAcls(java.lang.Object domainInstance,
Authentication authentication)
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()
|
void |
setProviders(java.util.List newList)
Sets the AclProvider objects to be used for ACL determinations. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AclProviderManager()
Method Detail |
---|
public void afterPropertiesSet() throws java.lang.Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
java.lang.Exception
public AclEntry[] getAcls(java.lang.Object domainInstance)
AclManager
getAcls
in interface AclManager
domainInstance
- 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)
AclManager
Authentication
object
getAcls
in interface AclManager
domainInstance
- 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 determinations
java.lang.IllegalArgumentException
- if an invalid provider was included in the list
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |