B - the type of the SecurityBuilderpublic interface ProviderManagerBuilder<B extends ProviderManagerBuilder<B>> extends SecurityBuilder<AuthenticationManager>
ProviderManager| Modifier and Type | Method and Description |
|---|---|
B |
authenticationProvider(AuthenticationProvider authenticationProvider)
Add authentication based upon the custom
AuthenticationProvider that is
passed in. |
buildB authenticationProvider(AuthenticationProvider authenticationProvider)
AuthenticationProvider that is
passed in. Since the AuthenticationProvider implementation is unknown, all
customizations must be done externally and the ProviderManagerBuilder is
returned immediately.
Note that an Exception is thrown if an error occurs when adding the AuthenticationProvider.ProviderManagerBuilder to allow further authentication to be
provided to the ProviderManagerBuilder