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.
Author:
Rob Winch, Janne Valkealahti
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected 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, getBeanResolver, getExpressionParser, getPermissionEvaluator, getRoleHierarchy, setApplicationContext, setExpressionParser, setPermissionEvaluator, setRoleHierarchy

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.security.access.expression.SecurityExpressionHandler

    createEvaluationContext
  • 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 class org.springframework.security.access.expression.AbstractSecurityExpressionHandler<org.springframework.messaging.Message<T>>
    • setTrustResolver

      public void setTrustResolver(org.springframework.security.authentication.AuthenticationTrustResolver trustResolver)