Class RequestMatcherDelegatingAuthenticationManagerResolver.Builder
java.lang.Object
org.springframework.security.web.authentication.RequestMatcherDelegatingAuthenticationManagerResolver.Builder
- Enclosing class:
- RequestMatcherDelegatingAuthenticationManagerResolver
public static final class RequestMatcherDelegatingAuthenticationManagerResolver.Builder
extends Object
A builder for
RequestMatcherDelegatingAuthenticationManagerResolver
.-
Method Summary
Modifier and TypeMethodDescriptionadd
(RequestMatcher matcher, AuthenticationManager manager) Maps aRequestMatcher
to anAuthorizationManager
.build()
Creates aRequestMatcherDelegatingAuthenticationManagerResolver
instance.
-
Method Details
-
add
public RequestMatcherDelegatingAuthenticationManagerResolver.Builder add(RequestMatcher matcher, AuthenticationManager manager) Maps aRequestMatcher
to anAuthorizationManager
.- Parameters:
matcher
- theRequestMatcher
to usemanager
- theAuthenticationManager
to use- Returns:
- the
RequestMatcherDelegatingAuthenticationManagerResolver.Builder
for further customizationServerWebExchangeDelegatingReactiveAuthenticationManagerResolvers
-
build
Creates aRequestMatcherDelegatingAuthenticationManagerResolver
instance.- Returns:
- the
RequestMatcherDelegatingAuthenticationManagerResolver
instance
-