Class TransitionSecurityExpressionRoot

java.lang.Object
org.springframework.security.access.expression.SecurityExpressionRoot
org.springframework.statemachine.security.TransitionSecurityExpressionRoot
All Implemented Interfaces:
org.springframework.security.access.expression.SecurityExpressionOperations

public class TransitionSecurityExpressionRoot extends org.springframework.security.access.expression.SecurityExpressionRoot
Root object for security spel evaluation.
Author:
Janne Valkealahti
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final Transition<?,?>
     

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

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

    Constructors
    Constructor
    Description
    TransitionSecurityExpressionRoot(org.springframework.security.core.Authentication authentication, Transition<?,?> transition)
    Instantiates a new transition security expression root.
  • Method Summary

    Modifier and Type
    Method
    Description
    final boolean
    hasSource(Object source)
     
    final boolean
    hasTarget(Object target)
     

    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

    • transition

      public final Transition<?,?> transition
  • Constructor Details

    • TransitionSecurityExpressionRoot

      public TransitionSecurityExpressionRoot(org.springframework.security.core.Authentication authentication, Transition<?,?> transition)
      Instantiates a new transition security expression root.
      Parameters:
      authentication - the authentication
      transition - the transition
  • Method Details

    • hasSource

      public final boolean hasSource(Object source)
    • hasTarget

      public final boolean hasTarget(Object target)