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 aRequestMatcherto anAuthorizationManager.build()Creates aRequestMatcherDelegatingAuthenticationManagerResolverinstance.
-
Method Details
-
add
public RequestMatcherDelegatingAuthenticationManagerResolver.Builder add(RequestMatcher matcher, AuthenticationManager manager) Maps aRequestMatcherto anAuthorizationManager.- Parameters:
matcher- theRequestMatcherto usemanager- theAuthenticationManagerto use- Returns:
- the
RequestMatcherDelegatingAuthenticationManagerResolver.Builderfor further customizationServerWebExchangeDelegatingReactiveAuthenticationManagerResolvers
-
build
Creates aRequestMatcherDelegatingAuthenticationManagerResolverinstance.- Returns:
- the
RequestMatcherDelegatingAuthenticationManagerResolverinstance
-