Class ExpressionUrlAuthorizationConfigurer<H extends HttpSecurityBuilder<H>>
java.lang.Object
org.springframework.security.config.annotation.SecurityConfigurerAdapter<DefaultSecurityFilterChain,B>
org.springframework.security.config.annotation.web.configurers.AbstractHttpConfigurer<C,H>
org.springframework.security.config.annotation.web.configurers.AbstractInterceptUrlConfigurer<ExpressionUrlAuthorizationConfigurer<H>,H>
org.springframework.security.config.annotation.web.configurers.ExpressionUrlAuthorizationConfigurer<H>
- Type Parameters:
H
- the type ofHttpSecurityBuilder
that is being configured
- All Implemented Interfaces:
SecurityConfigurer<DefaultSecurityFilterChain,
H>
@Deprecated
public final class ExpressionUrlAuthorizationConfigurer<H extends HttpSecurityBuilder<H>>
extends AbstractInterceptUrlConfigurer<ExpressionUrlAuthorizationConfigurer<H>,H>
Deprecated.
Adds URL based authorization based upon SpEL expressions to an application. At least
one
RequestMapping
needs to be mapped
to ConfigAttribute
's for this SecurityContextConfigurer
to have
meaning.
Security Filters
The following Filters are populatedShared Objects Created
The following shared objects are populated to allow otherSecurityConfigurer
's to
customize:
Shared Objects Used
AuthenticationTrustResolver
is optionally used to populate theDefaultWebSecurityExpressionHandler
- Since:
- 3.2
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
Deprecated.final class
Deprecated.Nested classes/interfaces inherited from class org.springframework.security.config.annotation.web.configurers.AbstractInterceptUrlConfigurer
AbstractInterceptUrlConfigurer.AbstractInterceptUrlRegistry<R extends AbstractInterceptUrlConfigurer<C,
H>.AbstractInterceptUrlRegistry<R, T>, T> -
Constructor Summary
ConstructorDescriptionExpressionUrlAuthorizationConfigurer
(org.springframework.context.ApplicationContext context) Deprecated.Creates a new instance -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Methods inherited from class org.springframework.security.config.annotation.web.configurers.AbstractInterceptUrlConfigurer
configure
Methods inherited from class org.springframework.security.config.annotation.web.configurers.AbstractHttpConfigurer
disable, getSecurityContextHolderStrategy, withObjectPostProcessor, withObjectPostProcessor
Methods inherited from class org.springframework.security.config.annotation.SecurityConfigurerAdapter
addObjectPostProcessor, addObjectPostProcessor, and, getBuilder, init, postProcess, setBuilder
-
Constructor Details
-
ExpressionUrlAuthorizationConfigurer
public ExpressionUrlAuthorizationConfigurer(org.springframework.context.ApplicationContext context) Deprecated.Creates a new instance- See Also:
-
-
Method Details
-
getRegistry
Deprecated.
-
AuthorizeHttpRequestsConfigurer
instead