Class MethodSecurityBeanDefinitionParser.PreAuthorizeAuthorizationMethodInterceptor
java.lang.Object
org.springframework.security.config.method.MethodSecurityBeanDefinitionParser.PreAuthorizeAuthorizationMethodInterceptor
- All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<AuthorizationManagerBeforeMethodInterceptor>
- Enclosing class:
- MethodSecurityBeanDefinitionParser
public static final class MethodSecurityBeanDefinitionParser.PreAuthorizeAuthorizationMethodInterceptor
extends Object
implements org.springframework.beans.factory.FactoryBean<AuthorizationManagerBeforeMethodInterceptor>
-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass<?>voidsetExpressionHandler(MethodSecurityExpressionHandler expressionHandler) voidsetObservationRegistry(io.micrometer.observation.ObservationRegistry registry) voidsetSecurityContextHolderStrategy(SecurityContextHolderStrategy securityContextHolderStrategy) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.FactoryBean
isSingleton
-
Constructor Details
-
PreAuthorizeAuthorizationMethodInterceptor
public PreAuthorizeAuthorizationMethodInterceptor()
-
-
Method Details
-
getObject
- Specified by:
getObjectin interfaceorg.springframework.beans.factory.FactoryBean<AuthorizationManagerBeforeMethodInterceptor>
-
getObjectType
- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean<AuthorizationManagerBeforeMethodInterceptor>
-
setSecurityContextHolderStrategy
public void setSecurityContextHolderStrategy(SecurityContextHolderStrategy securityContextHolderStrategy) -
setExpressionHandler
-
setObservationRegistry
public void setObservationRegistry(io.micrometer.observation.ObservationRegistry registry)
-