Class ExpressionUrlAuthorizationConfigurer.ExpressionInterceptUrlRegistry
java.lang.Object
org.springframework.security.config.annotation.web.AbstractRequestMatcherRegistry<C>
org.springframework.security.config.annotation.web.configurers.AbstractConfigAttributeRequestMatcherRegistry<T>
AbstractInterceptUrlConfigurer<ExpressionUrlAuthorizationConfigurer<H>,H>.AbstractInterceptUrlRegistry<ExpressionUrlAuthorizationConfigurer<H>.ExpressionInterceptUrlRegistry,ExpressionUrlAuthorizationConfigurer<H>.AuthorizedUrl>
org.springframework.security.config.annotation.web.configurers.ExpressionUrlAuthorizationConfigurer.ExpressionInterceptUrlRegistry
- Enclosing class:
- ExpressionUrlAuthorizationConfigurer<H extends HttpSecurityBuilder<H>>
public final class ExpressionUrlAuthorizationConfigurer.ExpressionInterceptUrlRegistry
extends AbstractInterceptUrlConfigurer<ExpressionUrlAuthorizationConfigurer<H>,H>.AbstractInterceptUrlRegistry<ExpressionUrlAuthorizationConfigurer<H>.ExpressionInterceptUrlRegistry,ExpressionUrlAuthorizationConfigurer<H>.AuthorizedUrl>
-
Method Summary
Modifier and TypeMethodDescriptionand()
protected ExpressionUrlAuthorizationConfigurer<H>.AuthorizedUrl
chainRequestMatchersInternal
(List<RequestMatcher> requestMatchers) Subclasses should implement this method for returning the object that is chained to the creation of theRequestMatcher
instances.expressionHandler
(SecurityExpressionHandler<FilterInvocation> expressionHandler) Allows customization of theSecurityExpressionHandler
to be used.withObjectPostProcessor
(ObjectPostProcessor<?> objectPostProcessor) Deprecated, for removal: This API element is subject to removal in a future version.withObjectPostProcessor
(ObjectPostProcessor<?> objectPostProcessor) Adds anObjectPostProcessor
for this class.Methods inherited from class org.springframework.security.config.annotation.web.configurers.AbstractInterceptUrlConfigurer.AbstractInterceptUrlRegistry
accessDecisionManager, filterSecurityInterceptorOncePerRequest
Methods inherited from class org.springframework.security.config.annotation.web.configurers.AbstractConfigAttributeRequestMatcherRegistry
chainRequestMatchers
Methods inherited from class org.springframework.security.config.annotation.web.AbstractRequestMatcherRegistry
anyRequest, createMvcMatchers, dispatcherTypeMatchers, dispatcherTypeMatchers, getApplicationContext, requestMatchers, requestMatchers, requestMatchers, requestMatchers, setApplicationContext
-
Method Details
-
chainRequestMatchersInternal
protected ExpressionUrlAuthorizationConfigurer<H>.AuthorizedUrl chainRequestMatchersInternal(List<RequestMatcher> requestMatchers) Description copied from class:AbstractConfigAttributeRequestMatcherRegistry
Subclasses should implement this method for returning the object that is chained to the creation of theRequestMatcher
instances.- Specified by:
chainRequestMatchersInternal
in classAbstractConfigAttributeRequestMatcherRegistry<ExpressionUrlAuthorizationConfigurer<H extends HttpSecurityBuilder<H>>.AuthorizedUrl>
- Parameters:
requestMatchers
- theRequestMatcher
instances that were created- Returns:
- the chained Object for the subclass which allows association of something
else to the
RequestMatcher
-
expressionHandler
public ExpressionUrlAuthorizationConfigurer<H>.ExpressionInterceptUrlRegistry expressionHandler(SecurityExpressionHandler<FilterInvocation> expressionHandler) Allows customization of theSecurityExpressionHandler
to be used. The default isDefaultWebSecurityExpressionHandler
- Parameters:
expressionHandler
- theSecurityExpressionHandler
to be used- Returns:
- the
ExpressionUrlAuthorizationConfigurer
for further customization.
-
withObjectPostProcessor
public ExpressionUrlAuthorizationConfigurer<H>.ExpressionInterceptUrlRegistry withObjectPostProcessor(ObjectPostProcessor<?> objectPostProcessor) Adds anObjectPostProcessor
for this class.- Parameters:
objectPostProcessor
-- Returns:
- the
ExpressionUrlAuthorizationConfigurer
for further customizations
-
withObjectPostProcessor
@Deprecated(since="6.4", forRemoval=true) public ExpressionUrlAuthorizationConfigurer<H>.ExpressionInterceptUrlRegistry withObjectPostProcessor(ObjectPostProcessor<?> objectPostProcessor) Deprecated, for removal: This API element is subject to removal in a future version. -
and
-