Class RequestMatcherDelegatingAuthenticationManagerResolver.Builder
- java.lang.Object
-
- org.springframework.security.web.authentication.RequestMatcherDelegatingAuthenticationManagerResolver.Builder
-
- Enclosing class:
- RequestMatcherDelegatingAuthenticationManagerResolver
public static final class RequestMatcherDelegatingAuthenticationManagerResolver.Builder extends java.lang.Object
A builder forRequestMatcherDelegatingAuthenticationManagerResolver
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RequestMatcherDelegatingAuthenticationManagerResolver.Builder
add(RequestMatcher matcher, AuthenticationManager manager)
Maps aRequestMatcher
to anAuthorizationManager
.RequestMatcherDelegatingAuthenticationManagerResolver
build()
Creates aRequestMatcherDelegatingAuthenticationManagerResolver
instance.
-
-
-
Method Detail
-
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
public RequestMatcherDelegatingAuthenticationManagerResolver build()
Creates aRequestMatcherDelegatingAuthenticationManagerResolver
instance.- Returns:
- the
RequestMatcherDelegatingAuthenticationManagerResolver
instance
-
-