S
- the type of stateE
- the type of eventpublic interface SecurityConfigurer<S,E> extends AnnotationConfigurerBuilder<StateMachineConfigurationConfigurer<S,E>>
ConfigConfigurer
interface for configuring generic config.Modifier and Type | Method and Description |
---|---|
SecurityConfigurer<S,E> |
enabled(boolean enabled)
Specify if security is enabled.
|
SecurityConfigurer<S,E> |
event(java.lang.String expression)
Specify a security attributes for events.
|
SecurityConfigurer<S,E> |
event(java.lang.String attributes,
SecurityRule.ComparisonType match)
Specify a security attributes for events.
|
SecurityConfigurer<S,E> |
eventAccessDecisionManager(org.springframework.security.access.AccessDecisionManager accessDecisionManager)
Specify a custom
AccessDecisionManager for events. |
SecurityConfigurer<S,E> |
transition(java.lang.String expression)
Specify a security attributes for transitions.
|
SecurityConfigurer<S,E> |
transition(java.lang.String attributes,
SecurityRule.ComparisonType match)
Specify a security attributes for transitions.
|
SecurityConfigurer<S,E> |
transitionAccessDecisionManager(org.springframework.security.access.AccessDecisionManager accessDecisionManager)
Specify a custom
AccessDecisionManager for transitions. |
and
SecurityConfigurer<S,E> enabled(boolean enabled)
enabled
- the enable flagSecurityConfigurer<S,E> transitionAccessDecisionManager(org.springframework.security.access.AccessDecisionManager accessDecisionManager)
AccessDecisionManager
for transitions.accessDecisionManager
- the access decision managerSecurityConfigurer<S,E> eventAccessDecisionManager(org.springframework.security.access.AccessDecisionManager accessDecisionManager)
AccessDecisionManager
for events.accessDecisionManager
- the access decision managerSecurityConfigurer<S,E> event(java.lang.String attributes, SecurityRule.ComparisonType match)
attributes
- the security attributesmatch
- the match typeSecurityConfigurer<S,E> event(java.lang.String expression)
expression
- the the security expressionSecurityConfigurer<S,E> transition(java.lang.String attributes, SecurityRule.ComparisonType match)
attributes
- the security attributesmatch
- the match typeSecurityConfigurer<S,E> transition(java.lang.String expression)
expression
- the the security expression