mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-03-03 11:59:08 +00:00
Add AuthenticationProvider List Configurability
Issue gh-5185
This commit is contained in:
parent
34b40deb38
commit
f1a2d69968
@ -167,6 +167,7 @@ final class AuthenticationConfigBuilder {
|
||||
private BeanDefinition authorizationCodeGrantFilter;
|
||||
private BeanReference authorizationCodeAuthenticationProviderRef;
|
||||
|
||||
private final List<BeanReference> authenticationProviders = new ManagedList<>();
|
||||
private final Map<BeanDefinition, BeanMetadataElement> defaultDeniedHandlerMappings = new ManagedMap<>();
|
||||
private final Map<BeanDefinition, BeanMetadataElement> defaultEntryPointMappings = new ManagedMap<>();
|
||||
private final List<BeanDefinition> csrfIgnoreRequestMatchers = new ManagedList<>();
|
||||
@ -1013,6 +1014,8 @@ final class AuthenticationConfigBuilder {
|
||||
providers.add(authorizationCodeAuthenticationProviderRef);
|
||||
}
|
||||
|
||||
providers.addAll(this.authenticationProviders);
|
||||
|
||||
return providers;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user