Class PolicySecurityExpressionRoot

java.lang.Object
org.springframework.security.access.expression.SecurityExpressionRoot
com.broadleafcommerce.data.tracking.core.policy.PolicySecurityExpressionRoot
All Implemented Interfaces:
org.springframework.security.access.expression.SecurityExpressionOperations

public class PolicySecurityExpressionRoot extends org.springframework.security.access.expression.SecurityExpressionRoot
Default SPEL support for Authentication context evaluation. Based on SecurityExpressionRoot, similar to PreAuthorize.
Author:
Jeff Fischer
  • Field Summary

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

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

    Constructors
    Constructor
    Description
    PolicySecurityExpressionRoot(org.springframework.security.core.Authentication authentication)
     
  • Method Summary

    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
  • Constructor Details

    • PolicySecurityExpressionRoot

      public PolicySecurityExpressionRoot(org.springframework.security.core.Authentication authentication)