Class MethodSecurityConfig

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.SmartInitializingSingleton, org.springframework.context.annotation.ImportAware

    @ConditionalOnProperty(name="abac.enabled")
    @Configuration
    @EnableGlobalMethodSecurity(prePostEnabled=true)
    public class MethodSecurityConfig
    extends org.springframework.security.config.annotation.method.configuration.GlobalMethodSecurityConfiguration
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.springframework.security.access.expression.method.MethodSecurityExpressionHandler createExpressionHandler()
      Registration of custom SpEL expressions, here to include ABAC checks.
      • Methods inherited from class org.springframework.security.config.annotation.method.configuration.GlobalMethodSecurityConfiguration

        accessDecisionManager, afterInvocationManager, afterSingletonsInstantiated, authenticationManager, configure, customMethodSecurityMetadataSource, getExpressionHandler, methodSecurityInterceptor, methodSecurityMetadataSource, preInvocationAuthorizationAdvice, runAsManager, setBeanFactory, setImportMetadata, setMethodSecurityExpressionHandler, setObjectPostProcessor
    • Constructor Detail

      • MethodSecurityConfig

        public MethodSecurityConfig​(AbacConfig abacConfig)
    • Method Detail

      • createExpressionHandler

        protected org.springframework.security.access.expression.method.MethodSecurityExpressionHandler createExpressionHandler()
        Registration of custom SpEL expressions, here to include ABAC checks.
        Overrides:
        createExpressionHandler in class org.springframework.security.config.annotation.method.configuration.GlobalMethodSecurityConfiguration