Class DefaultEventSecurityExpressionHandler<T>
java.lang.Object
org.springframework.security.access.expression.AbstractSecurityExpressionHandler<org.springframework.messaging.Message<T>>
org.springframework.statemachine.security.DefaultEventSecurityExpressionHandler<T>
- Type Parameters:
T
- the type for the body of the Message
- All Implemented Interfaces:
org.springframework.aop.framework.AopInfrastructureBean
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
,org.springframework.security.access.expression.SecurityExpressionHandler<org.springframework.messaging.Message<T>>
public class DefaultEventSecurityExpressionHandler<T>
extends org.springframework.security.access.expression.AbstractSecurityExpressionHandler<org.springframework.messaging.Message<T>>
The default implementation of
SecurityExpressionHandler
which uses a
EventSecurityExpressionRoot
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.security.access.expression.SecurityExpressionOperations
createSecurityExpressionRoot
(org.springframework.security.core.Authentication authentication, org.springframework.messaging.Message<T> invocation) void
setTrustResolver
(org.springframework.security.authentication.AuthenticationTrustResolver trustResolver) Methods inherited from class org.springframework.security.access.expression.AbstractSecurityExpressionHandler
createEvaluationContext, createEvaluationContextInternal, getExpressionParser, getPermissionEvaluator, getRoleHierarchy, setApplicationContext, setExpressionParser, setPermissionEvaluator, setRoleHierarchy
-
Constructor Details
-
DefaultEventSecurityExpressionHandler
public DefaultEventSecurityExpressionHandler()
-
-
Method Details
-
createSecurityExpressionRoot
protected org.springframework.security.access.expression.SecurityExpressionOperations createSecurityExpressionRoot(org.springframework.security.core.Authentication authentication, org.springframework.messaging.Message<T> invocation) - Specified by:
createSecurityExpressionRoot
in classorg.springframework.security.access.expression.AbstractSecurityExpressionHandler<org.springframework.messaging.Message<T>>
-
setTrustResolver
public void setTrustResolver(org.springframework.security.authentication.AuthenticationTrustResolver trustResolver)
-