Known Direct Subclasses
| AclEntryVoter |
Given a domain object instance passed as a method argument, ensures the principal has appropriate permission
as indicated by the AclService. |
|
Class Overview
Provides helper methods for writing domain object ACL voters.
Not bound to any particular ACL system.
Public Constructors
public
AbstractAclVoter
()
Public Methods
public
Class<?>
getProcessDomainObjectClass
()
public
void
setProcessDomainObjectClass
(Class<?> processDomainObjectClass)
public
boolean
supports
(Class<?> clazz)
This implementation supports only MethodSecurityInterceptor, because it queries the
presented MethodInvocation.
Returns
true if the secure object is MethodInvocation, false otherwise
Protected Methods
protected
Object
getDomainObjectInstance
(MethodInvocation invocation)