Class MessageSecurityExpressionRoot

    • Field Detail

      • message

        public final org.springframework.messaging.Message<?> message
    • Constructor Detail

      • MessageSecurityExpressionRoot

        public MessageSecurityExpressionRoot​(Authentication authentication,
                                             org.springframework.messaging.Message<?> message)
      • MessageSecurityExpressionRoot

        public MessageSecurityExpressionRoot​(java.util.function.Supplier<Authentication> authentication,
                                             org.springframework.messaging.Message<?> message)
        Creates an instance for the given Supplier of the Authentication and Message.
        Parameters:
        authentication - the Supplier of the Authentication to use
        message - the Message to use
        Since:
        5.8