Interface ProviderManagerBuilder<B extends ProviderManagerBuilder<B>>
-
- Type Parameters:
B- the type of theSecurityBuilder
- All Superinterfaces:
SecurityBuilder<AuthenticationManager>
- All Known Implementing Classes:
AuthenticationManagerBuilder
public interface ProviderManagerBuilder<B extends ProviderManagerBuilder<B>> extends SecurityBuilder<AuthenticationManager>
Interface for operating on a SecurityBuilder that creates aProviderManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BauthenticationProvider(AuthenticationProvider authenticationProvider)Add authentication based upon the customAuthenticationProviderthat is passed in.-
Methods inherited from interface org.springframework.security.config.annotation.SecurityBuilder
build
-
-
-
-
Method Detail
-
authenticationProvider
B authenticationProvider(AuthenticationProvider authenticationProvider)
Add authentication based upon the customAuthenticationProviderthat is passed in. Since theAuthenticationProviderimplementation is unknown, all customizations must be done externally and theProviderManagerBuilderis returned immediately. Note that an Exception is thrown if an error occurs when adding theAuthenticationProvider.- Returns:
- a
ProviderManagerBuilderto allow further authentication to be provided to theProviderManagerBuilder
-
-