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

    Fields
    Modifier and Type
    Field
    Description
    final org.springframework.messaging.Message<?>
     

    Fields inherited from class org.springframework.security.access.expression.SecurityExpressionRoot

    admin, create, delete, denyAll, permitAll, read, write
  • Constructor Summary

    Constructors
    Constructor
    Description
    EventSecurityExpressionRoot(org.springframework.security.core.Authentication authentication, org.springframework.messaging.Message<?> message)
    Instantiates a new event security expression root.
  • Method Summary

    Modifier and Type
    Method
    Description
    final boolean
    hasEvent(Object source)
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 authentication
      message - the message
  • Method Details

    • hasEvent

      public final boolean hasEvent(Object source)