public interface DynamicProviderManager
extends org.springframework.security.authentication.AuthenticationManager
This ensures that the provider manager is threadsafe (to some degree). It is still possible to obtain a collection of providers and manipulate it in a non-threadsafe manner by using the getter/setter.
Note: if you have no need for runtime-pluggable behaviour, simply use org.springframework.security.providers.ProviderManager.
Modifier and Type | Method and Description |
---|---|
void |
addProvider(org.springframework.security.authentication.AuthenticationProvider provider) |
boolean |
removeProvider(org.springframework.security.authentication.AuthenticationProvider provider) |
Copyright © 2021 Atlassian. All rights reserved.