public interface AclProvider
Implementations are typically called from the AclProviderManager
.
Modifier and Type | Method and Description |
---|---|
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 and presented
Authentication
object. |
boolean |
supports(java.lang.Object domainInstance)
Deprecated.
Indicates whether this
AclProvider can authoritatively return ACL information for the
specified domain object instance. |
AclEntry[] getAcls(java.lang.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(java.lang.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(java.lang.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