Class MethodSecurityBeanDefinitionParser.Jsr250AuthorizationMethodInterceptor
java.lang.Object
org.springframework.security.config.method.MethodSecurityBeanDefinitionParser.Jsr250AuthorizationMethodInterceptor
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.FactoryBean<AuthorizationManagerBeforeMethodInterceptor>
,org.springframework.context.ApplicationContextAware
- Enclosing class:
- MethodSecurityBeanDefinitionParser
public static final class MethodSecurityBeanDefinitionParser.Jsr250AuthorizationMethodInterceptor
extends Object
implements org.springframework.beans.factory.FactoryBean<AuthorizationManagerBeforeMethodInterceptor>, org.springframework.context.ApplicationContextAware
-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionClass<?>
void
setApplicationContext
(org.springframework.context.ApplicationContext applicationContext) void
setObservationRegistry
(io.micrometer.observation.ObservationRegistry observationRegistry) void
setSecurityContextHolderStrategy
(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 Details
-
Jsr250AuthorizationMethodInterceptor
public Jsr250AuthorizationMethodInterceptor()
-
-
Method Details
-
getObject
- Specified by:
getObject
in interfaceorg.springframework.beans.factory.FactoryBean<AuthorizationManagerBeforeMethodInterceptor>
-
getObjectType
- Specified by:
getObjectType
in interfaceorg.springframework.beans.factory.FactoryBean<AuthorizationManagerBeforeMethodInterceptor>
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
setSecurityContextHolderStrategy
public void setSecurityContextHolderStrategy(SecurityContextHolderStrategy securityContextHolderStrategy) -
setObservationRegistry
public void setObservationRegistry(io.micrometer.observation.ObservationRegistry observationRegistry)
-