java.lang.Object | |
↳ | org.springframework.security.access.prepost.PreInvocationAuthorizationAdviceVoter |
Voter which performs the actions using a PreInvocationAuthorizationAdvice implementation generated from @PreFilter and @PreAuthorize annotations.
In practice, if these annotations are being used, they will normally contain all the necessary access control logic, so a voter-based system is not really necessary and a single AccessDecisionManager which contained the same logic would suffice. However, this class fits in readily with the traditional voter-based AccessDecisionManager implementations used by Spring Security.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
org.springframework.security.access.AccessDecisionVoter
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
logger |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Indicates whether the
AccessDecisionVoter implementation is able to provide access control
votes for the indicated secured object type. | |||||||||||
Indicates whether this
AccessDecisionVoter is able to vote on the passed ConfigAttribute . | |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.security.access.AccessDecisionVoter
|
Indicates whether the AccessDecisionVoter
implementation is able to provide access control
votes for the indicated secured object type.
clazz | the class that is being queried |
---|
Indicates whether this AccessDecisionVoter
is able to vote on the passed ConfigAttribute
.
This allows the AbstractSecurityInterceptor
to check every configuration attribute can be consumed by
the configured AccessDecisionManager
and/or RunAsManager
and/or AfterInvocationManager
.
attribute | a configuration attribute that has been configured against the
AbstractSecurityInterceptor |
---|
AccessDecisionVoter
can support the passed configuration attribute