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 ofHttpSecurityBuilderthat 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
AuthenticationTrustResolveris optionally used to populate theDefaultWebSecurityExpressionHandler
- Since:
- 3.2
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassDeprecated.final classDeprecated.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
ConstructorsConstructorDescriptionExpressionUrlAuthorizationConfigurer(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
configureMethods inherited from class org.springframework.security.config.annotation.web.configurers.AbstractHttpConfigurer
disable, getSecurityContextHolderStrategy, withObjectPostProcessor, withObjectPostProcessorMethods 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.
-
AuthorizeHttpRequestsConfigurerinstead