Class TransitionExpressionVoter
java.lang.Object
org.springframework.statemachine.security.TransitionExpressionVoter
- All Implemented Interfaces:
org.springframework.security.access.AccessDecisionVoter<Transition<?,
?>>
public class TransitionExpressionVoter
extends Object
implements org.springframework.security.access.AccessDecisionVoter<Transition<?,?>>
AccessDecisionVoter
evaluating access via security spel expression.-
Field Summary
Fields inherited from interface org.springframework.security.access.AccessDecisionVoter
ACCESS_ABSTAIN, ACCESS_DENIED, ACCESS_GRANTED
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
supports
(org.springframework.security.access.ConfigAttribute attribute) int
vote
(org.springframework.security.core.Authentication authentication, Transition<?, ?> object, Collection<org.springframework.security.access.ConfigAttribute> attributes)
-
Constructor Details
-
TransitionExpressionVoter
public TransitionExpressionVoter()
-
-
Method Details
-
supports
public boolean supports(org.springframework.security.access.ConfigAttribute attribute) - Specified by:
supports
in interfaceorg.springframework.security.access.AccessDecisionVoter<Transition<?,
?>>
-
supports
- Specified by:
supports
in interfaceorg.springframework.security.access.AccessDecisionVoter<Transition<?,
?>>
-
vote
public int vote(org.springframework.security.core.Authentication authentication, Transition<?, ?> object, Collection<org.springframework.security.access.ConfigAttribute> attributes) - Specified by:
vote
in interfaceorg.springframework.security.access.AccessDecisionVoter<Transition<?,
?>>
-