Class AuthorizeHttpRequestsConfigurer.MvcMatchersAuthorizedUrl
java.lang.Object
AuthorizeHttpRequestsConfigurer<H>.AuthorizedUrl
org.springframework.security.config.annotation.web.configurers.AuthorizeHttpRequestsConfigurer.MvcMatchersAuthorizedUrl
- Enclosing class:
- AuthorizeHttpRequestsConfigurer<H extends HttpSecurityBuilder<H>>
public final class AuthorizeHttpRequestsConfigurer.MvcMatchersAuthorizedUrl
extends AuthorizeHttpRequestsConfigurer<H>.AuthorizedUrl
An
AuthorizeHttpRequestsConfigurer.AuthorizedUrl
that allows optionally
configuring the MvcRequestMatcher.setServletPath(String)
.-
Method Summary
Modifier and TypeMethodDescriptionservletPath
(String servletPath) ConfiguresservletPath
toMvcRequestMatcher
s.Methods inherited from class org.springframework.security.config.annotation.web.configurers.AuthorizeHttpRequestsConfigurer.AuthorizedUrl
access, authenticated, denyAll, getMatchers, hasAnyAuthority, hasAnyRole, hasAuthority, hasRole, permitAll
-
Method Details
-
servletPath
ConfiguresservletPath
toMvcRequestMatcher
s.- Parameters:
servletPath
- the servlet path- Returns:
- the
AuthorizeHttpRequestsConfigurer<H extends HttpSecurityBuilder<H>>.MvcMatchersAuthorizedUrl
for further customizations
-