|
Spring Security Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AclProvider
Indicates a class can process a given domain object instance and authoritatively return the ACLs that apply.
Implementations are typically called from the AclProviderManager
.
Method Summary | |
---|---|
AclEntry[] |
getAcls(Object domainInstance)
Deprecated. Obtains the ACLs that apply to the specified domain instance. |
AclEntry[] |
getAcls(Object domainInstance,
Authentication authentication)
Deprecated. Obtains the ACLs that apply to the specified domain instance and presented Authentication
object. |
boolean |
supports(Object domainInstance)
Deprecated. Indicates whether this AclProvider can authoritatively return ACL information for the
specified domain object instance. |
Method Detail |
---|
AclEntry[] getAcls(Object domainInstance)
Will never be called unless the supports(Object)
method returned true
.
domainInstance
- the instance for which ACL information is required (never null
)
null
if no ACLs apply to the specified domain instanceAclEntry[] getAcls(Object domainInstance, Authentication authentication)
Authentication
object.Will never be called unless the supports(Object)
method returned true
.
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 foundboolean supports(Object domainInstance)
AclProvider
can authoritatively return ACL information for the
specified domain object instance.
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
|
Spring Security Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |