| org.acegisecurity.acl.AclProvider
All known Subclasses: org.acegisecurity.acl.basic.BasicAclProvider,
AclProvider | public interface AclProvider (Code) | | Indicates a class can process a given domain object instance and
authoritatively return the ACLs that apply.
Implementations are typically called from the
AclProviderManager .
author: Ben Alex version: $Id: AclProvider.java 1784 2007-02-24 21:00:24Z luke_t $ |
getAcls | AclEntry[] getAcls(Object domainInstance)(Code) | | Obtains the ACLs that apply to the specified domain instance. Will never be called unless the
AclProvider.supports(Object) method returned true .
Parameters: domainInstance - the instance for which ACL information is required (never null ) the ACLs that apply, or null if no ACLs apply to the specified domain instance |
getAcls | AclEntry[] getAcls(Object domainInstance, Authentication authentication)(Code) | | Obtains the ACLs that apply to the specified domain instance and presented Authentication
object.Will never be called unless the
AclProvider.supports(Object) method returned true .
Parameters: domainInstance - the instance for which ACL information is required (never null ) Parameters: authentication - the prncipal for which ACL information should be filtered (never null ) only those ACLs applying to the domain instance that have been granted to the principal (ornull ) if no such ACLs are found |
supports | boolean supports(Object domainInstance)(Code) | | Indicates whether this AclProvider can authoritatively return ACL information for the
specified domain object instance.
Parameters: domainInstance - the instance for which ACL information is required (never null ) true if this provider is authoritative for the specified domain object instance,false otherwise |
|
|