java.lang.Object | |
↳ | org.springframework.security.acls.AclPermissionEvaluator |
Used by Spring Security's expression-based access control implementation to evaluate permissions for a particular
object using the ACL module. Similar in behaviour to
AclEntryVoter
.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Determines whether the user has the given permission(s) on the domain object using the ACL
configuration.
| |||||||||||
Alternative method for evaluating a permission where only the identifier of the target object
is available, rather than the target instance itself.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.security.access.PermissionEvaluator
|
Determines whether the user has the given permission(s) on the domain object using the ACL configuration. If the domain object is null, returns false (this can always be overridden using a null check in the expression itself).
Alternative method for evaluating a permission where only the identifier of the target object is available, rather than the target instance itself.
authentication | represents the user in question. Should not be null. |
---|---|
targetId | the identifier for the object instance (usually a Long) |
targetType | a String representing the target's type (usually a Java classname). Not null. |
permission | a representation of the permission object as supplied by the expression system. Not null. |