Package mops.config

Class SecurityConfig.MethodSecurityConfig

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

    @Configuration
    @EnableGlobalMethodSecurity(prePostEnabled=true,
                                securedEnabled=true,
                                jsr250Enabled=true)
    public static class SecurityConfig.MethodSecurityConfig
    extends org.springframework.security.config.annotation.method.configuration.GlobalMethodSecurityConfiguration
    Declaring this class enables us to use the Spring specific. Secured annotation or the JSR-250 Java Standard RolesAllowed annotation for Role-based authorization
    • Method Summary

      • Methods inherited from class org.springframework.security.config.annotation.method.configuration.GlobalMethodSecurityConfiguration

        accessDecisionManager, afterInvocationManager, afterSingletonsInstantiated, authenticationManager, configure, createExpressionHandler, customMethodSecurityMetadataSource, getExpressionHandler, methodSecurityInterceptor, methodSecurityMetadataSource, preInvocationAuthorizationAdvice, runAsManager, setBeanFactory, setImportMetadata, setMethodSecurityExpressionHandler, setObjectPostProcessor
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MethodSecurityConfig

        public MethodSecurityConfig()