Class MethodSecurityBeanDefinitionParser.Jsr250AuthorizationMethodInterceptor

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.FactoryBean<org.springframework.security.authorization.method.AuthorizationManagerBeforeMethodInterceptor>, org.springframework.context.ApplicationContextAware
    Enclosing class:
    MethodSecurityBeanDefinitionParser

    public static final class MethodSecurityBeanDefinitionParser.Jsr250AuthorizationMethodInterceptor
    extends java.lang.Object
    implements org.springframework.beans.factory.FactoryBean<org.springframework.security.authorization.method.AuthorizationManagerBeforeMethodInterceptor>, org.springframework.context.ApplicationContextAware
    • Field Summary

      • Fields inherited from interface org.springframework.beans.factory.FactoryBean

        OBJECT_TYPE_ATTRIBUTE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.springframework.security.authorization.method.AuthorizationManagerBeforeMethodInterceptor getObject()  
      java.lang.Class<?> getObjectType()  
      void setApplicationContext​(org.springframework.context.ApplicationContext applicationContext)  
      void setSecurityContextHolderStrategy​(org.springframework.security.core.context.SecurityContextHolderStrategy securityContextHolderStrategy)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.springframework.beans.factory.FactoryBean

        isSingleton
    • Constructor Detail

      • Jsr250AuthorizationMethodInterceptor

        public Jsr250AuthorizationMethodInterceptor()
    • Method Detail

      • getObject

        public org.springframework.security.authorization.method.AuthorizationManagerBeforeMethodInterceptor getObject()
        Specified by:
        getObject in interface org.springframework.beans.factory.FactoryBean<org.springframework.security.authorization.method.AuthorizationManagerBeforeMethodInterceptor>
      • getObjectType

        public java.lang.Class<?> getObjectType()
        Specified by:
        getObjectType in interface org.springframework.beans.factory.FactoryBean<org.springframework.security.authorization.method.AuthorizationManagerBeforeMethodInterceptor>
      • setApplicationContext

        public void setApplicationContext​(org.springframework.context.ApplicationContext applicationContext)
                                   throws org.springframework.beans.BeansException
        Specified by:
        setApplicationContext in interface org.springframework.context.ApplicationContextAware
        Throws:
        org.springframework.beans.BeansException
      • setSecurityContextHolderStrategy

        public void setSecurityContextHolderStrategy​(org.springframework.security.core.context.SecurityContextHolderStrategy securityContextHolderStrategy)