Class UrlAuthorizationConfigurer.StandardInterceptUrlRegistry
- Enclosing class:
- UrlAuthorizationConfigurer<H extends HttpSecurityBuilder<H>>
-
Method Summary
Modifier and TypeMethodDescriptionand()Deprecated.protected UrlAuthorizationConfigurer<H>.AuthorizedUrlchainRequestMatchersInternal(List<RequestMatcher> requestMatchers) Deprecated.Subclasses should implement this method for returning the object that is chained to the creation of theRequestMatcherinstances.requestMatchers(String... patterns) Deprecated.If theHandlerMappingIntrospectoris available in the classpath, maps to anMvcRequestMatcherthat does not care whichHttpMethodis used.requestMatchers(org.springframework.http.HttpMethod method) Deprecated.If theHandlerMappingIntrospectoris available in the classpath, maps to anMvcRequestMatcherthat matches on a specificHttpMethod.requestMatchers(org.springframework.http.HttpMethod method, String... patterns) Deprecated.If theHandlerMappingIntrospectoris available in the classpath, maps to anMvcRequestMatcherthat also specifies a specificHttpMethodto match on.requestMatchers(RequestMatcher... requestMatchers) Deprecated.Associates a list ofRequestMatcherinstances with theAbstractRequestMatcherRegistrywithObjectPostProcessor(ObjectPostProcessor<?> objectPostProcessor) Deprecated.Adds anObjectPostProcessorfor this class.Methods inherited from class org.springframework.security.config.annotation.web.configurers.AbstractInterceptUrlConfigurer.AbstractInterceptUrlRegistry
accessDecisionManager, filterSecurityInterceptorOncePerRequestMethods inherited from class org.springframework.security.config.annotation.web.configurers.AbstractConfigAttributeRequestMatcherRegistry
chainRequestMatchersMethods inherited from class org.springframework.security.config.annotation.web.AbstractRequestMatcherRegistry
anyRequest, createMvcMatchers, dispatcherTypeMatchers, dispatcherTypeMatchers, getApplicationContext, setApplicationContext
-
Method Details
-
requestMatchers
Deprecated.Description copied from class:AbstractRequestMatcherRegistryIf the
HandlerMappingIntrospectoris available in the classpath, maps to anMvcRequestMatcherthat does not care whichHttpMethodis used. This matcher will use the same rules that Spring MVC uses for matching. For example, often times a mapping of the path "/path" will match on "/path", "/path/", "/path.html", etc. If theHandlerMappingIntrospectoris not available, maps to anAntPathRequestMatcher.If a specific
RequestMatchermust be specified, useAbstractRequestMatcherRegistry.requestMatchers(RequestMatcher...)instead- Overrides:
requestMatchersin classAbstractRequestMatcherRegistry<UrlAuthorizationConfigurer<H extends HttpSecurityBuilder<H>>.AuthorizedUrl>- Parameters:
patterns- the patterns to match on. The rules for matching are defined by Spring MVC ifMvcRequestMatcheris used- Returns:
- the object that is chained after creating the
RequestMatcher.
-
requestMatchers
public UrlAuthorizationConfigurer<H>.AuthorizedUrl requestMatchers(org.springframework.http.HttpMethod method, String... patterns) Deprecated.Description copied from class:AbstractRequestMatcherRegistryIf the
HandlerMappingIntrospectoris available in the classpath, maps to anMvcRequestMatcherthat also specifies a specificHttpMethodto match on. This matcher will use the same rules that Spring MVC uses for matching. For example, often times a mapping of the path "/path" will match on "/path", "/path/", "/path.html", etc. If theHandlerMappingIntrospectoris not available, maps to anAntPathRequestMatcher.If a specific
RequestMatchermust be specified, useAbstractRequestMatcherRegistry.requestMatchers(RequestMatcher...)instead- Overrides:
requestMatchersin classAbstractRequestMatcherRegistry<UrlAuthorizationConfigurer<H extends HttpSecurityBuilder<H>>.AuthorizedUrl>- Parameters:
method- theHttpMethodto use ornullfor anyHttpMethod.patterns- the patterns to match on. The rules for matching are defined by Spring MVC ifMvcRequestMatcheris used- Returns:
- the object that is chained after creating the
RequestMatcher.
-
requestMatchers
public UrlAuthorizationConfigurer<H>.AuthorizedUrl requestMatchers(org.springframework.http.HttpMethod method) Deprecated.Description copied from class:AbstractRequestMatcherRegistryIf the
HandlerMappingIntrospectoris available in the classpath, maps to anMvcRequestMatcherthat matches on a specificHttpMethod. This matcher will use the same rules that Spring MVC uses for matching. For example, often times a mapping of the path "/path" will match on "/path", "/path/", "/path.html", etc. If theHandlerMappingIntrospectoris not available, maps to anAntPathRequestMatcher.If a specific
RequestMatchermust be specified, useAbstractRequestMatcherRegistry.requestMatchers(RequestMatcher...)instead- Overrides:
requestMatchersin classAbstractRequestMatcherRegistry<UrlAuthorizationConfigurer<H extends HttpSecurityBuilder<H>>.AuthorizedUrl>- Parameters:
method- theHttpMethodto use ornullfor anyHttpMethod.- Returns:
- the object that is chained after creating the
RequestMatcher.
-
requestMatchers
public UrlAuthorizationConfigurer<H>.AuthorizedUrl requestMatchers(RequestMatcher... requestMatchers) Deprecated.Description copied from class:AbstractRequestMatcherRegistryAssociates a list ofRequestMatcherinstances with theAbstractRequestMatcherRegistry- Overrides:
requestMatchersin classAbstractRequestMatcherRegistry<UrlAuthorizationConfigurer<H extends HttpSecurityBuilder<H>>.AuthorizedUrl>- Parameters:
requestMatchers- theRequestMatcherinstances- Returns:
- the object that is chained after creating the
RequestMatcher
-
chainRequestMatchersInternal
protected UrlAuthorizationConfigurer<H>.AuthorizedUrl chainRequestMatchersInternal(List<RequestMatcher> requestMatchers) Deprecated.Description copied from class:AbstractConfigAttributeRequestMatcherRegistrySubclasses should implement this method for returning the object that is chained to the creation of theRequestMatcherinstances.- Specified by:
chainRequestMatchersInternalin classAbstractConfigAttributeRequestMatcherRegistry<UrlAuthorizationConfigurer<H extends HttpSecurityBuilder<H>>.AuthorizedUrl>- Parameters:
requestMatchers- theRequestMatcherinstances that were created- Returns:
- the chained Object for the subclass which allows association of something
else to the
RequestMatcher
-
withObjectPostProcessor
public UrlAuthorizationConfigurer<H>.StandardInterceptUrlRegistry withObjectPostProcessor(ObjectPostProcessor<?> objectPostProcessor) Deprecated.Adds anObjectPostProcessorfor this class.- Parameters:
objectPostProcessor-- Returns:
- the
ExpressionUrlAuthorizationConfigurerfor further customizations
-
and
Deprecated.
-