Class EventSecurityExpressionRoot
java.lang.Object
org.springframework.security.access.expression.SecurityExpressionRoot
org.springframework.statemachine.security.EventSecurityExpressionRoot
- All Implemented Interfaces:
org.springframework.security.access.expression.SecurityExpressionOperations
public class EventSecurityExpressionRoot
extends org.springframework.security.access.expression.SecurityExpressionRoot
The
SecurityExpressionRoot
used for Message
expressions.-
Field Summary
Fields inherited from class org.springframework.security.access.expression.SecurityExpressionRoot
admin, create, delete, denyAll, permitAll, read, write
-
Constructor Summary
ConstructorDescriptionEventSecurityExpressionRoot
(org.springframework.security.core.Authentication authentication, org.springframework.messaging.Message<?> message) Instantiates a new event security expression root. -
Method Summary
Methods inherited from class org.springframework.security.access.expression.SecurityExpressionRoot
denyAll, getAuthentication, getPrincipal, hasAnyAuthority, hasAnyRole, hasAuthority, hasPermission, hasPermission, hasRole, isAnonymous, isAuthenticated, isFullyAuthenticated, isRememberMe, permitAll, setDefaultRolePrefix, setPermissionEvaluator, setRoleHierarchy, setTrustResolver
-
Field Details
-
message
public final org.springframework.messaging.Message<?> message
-
-
Constructor Details
-
EventSecurityExpressionRoot
public EventSecurityExpressionRoot(org.springframework.security.core.Authentication authentication, org.springframework.messaging.Message<?> message) Instantiates a new event security expression root.- Parameters:
authentication
- the authenticationmessage
- the message
-
-
Method Details
-
hasEvent
-