Class DefaultMessageSecurityExpressionHandler<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 DefaultMessageSecurityExpressionHandler<T>
    extends org.springframework.security.access.expression.AbstractSecurityExpressionHandler<org.springframework.messaging.Message<T>>
    The default implementation of SecurityExpressionHandler which uses a MessageSecurityExpressionRoot.
    Since:
    4.0
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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, 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
    • Constructor Detail

      • DefaultMessageSecurityExpressionHandler

        public DefaultMessageSecurityExpressionHandler()
    • Method Detail

      • 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)