Class AuthorizeHttpRequestsConfigurer.MvcMatchersAuthorizedUrl
- java.lang.Object
-
- org.springframework.security.config.annotation.web.configurers.AuthorizeHttpRequestsConfigurer.AuthorizedUrl
-
- org.springframework.security.config.annotation.web.configurers.AuthorizeHttpRequestsConfigurer.MvcMatchersAuthorizedUrl
-
- Enclosing class:
- AuthorizeHttpRequestsConfigurer<H extends HttpSecurityBuilder<H>>
public final class AuthorizeHttpRequestsConfigurer.MvcMatchersAuthorizedUrl extends AuthorizeHttpRequestsConfigurer.AuthorizedUrl
AnAuthorizeHttpRequestsConfigurer.AuthorizedUrl
that allows optionally configuring theMvcRequestMatcher.setServletPath(String)
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthorizeHttpRequestsConfigurer.MvcMatchersAuthorizedUrl
servletPath(java.lang.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 Detail
-
servletPath
public AuthorizeHttpRequestsConfigurer.MvcMatchersAuthorizedUrl servletPath(java.lang.String servletPath)
ConfiguresservletPath
toMvcRequestMatcher
s.- Parameters:
servletPath
- the servlet path- Returns:
- the
AuthorizeHttpRequestsConfigurer.MvcMatchersAuthorizedUrl
for further customizations
-
-