Class C4MethodSecurityExpressionHandler

java.lang.Object
org.springframework.security.access.expression.AbstractSecurityExpressionHandler<org.aopalliance.intercept.MethodInvocation>
org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler
com.c4_soft.springaddons.security.oidc.spring.C4MethodSecurityExpressionHandler
All Implemented Interfaces:
org.springframework.aop.framework.AopInfrastructureBean, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware, org.springframework.security.access.expression.method.MethodSecurityExpressionHandler, org.springframework.security.access.expression.SecurityExpressionHandler<org.aopalliance.intercept.MethodInvocation>

public class C4MethodSecurityExpressionHandler extends org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler
  • Field Summary

    Fields inherited from class org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler

    logger
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.expression.EvaluationContext
    createEvaluationContext(Supplier<org.springframework.security.core.Authentication> authentication, org.aopalliance.intercept.MethodInvocation mi)
     
    protected org.springframework.security.access.expression.method.MethodSecurityExpressionOperations
    createSecurityExpressionRoot(org.springframework.security.core.Authentication authentication, org.aopalliance.intercept.MethodInvocation invocation)
    Creates the root object for expression evaluation.

    Methods inherited from class org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler

    createEvaluationContextInternal, filter, getDefaultRolePrefix, getParameterNameDiscoverer, getTrustResolver, setDefaultRolePrefix, setParameterNameDiscoverer, setPermissionCacheOptimizer, setReturnObject, setTrustResolver

    Methods inherited from class org.springframework.security.access.expression.AbstractSecurityExpressionHandler

    createEvaluationContext, getBeanResolver, 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

    Methods inherited from interface org.springframework.security.access.expression.SecurityExpressionHandler

    createEvaluationContext, getExpressionParser
  • Constructor Details

    • C4MethodSecurityExpressionHandler

      public C4MethodSecurityExpressionHandler()
  • Method Details

    • createSecurityExpressionRoot

      protected org.springframework.security.access.expression.method.MethodSecurityExpressionOperations createSecurityExpressionRoot(org.springframework.security.core.Authentication authentication, org.aopalliance.intercept.MethodInvocation invocation)
      Creates the root object for expression evaluation.
      Overrides:
      createSecurityExpressionRoot in class org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler
    • createEvaluationContext

      public org.springframework.expression.EvaluationContext createEvaluationContext(Supplier<org.springframework.security.core.Authentication> authentication, org.aopalliance.intercept.MethodInvocation mi)
      Specified by:
      createEvaluationContext in interface org.springframework.security.access.expression.SecurityExpressionHandler<org.aopalliance.intercept.MethodInvocation>
      Overrides:
      createEvaluationContext in class org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler