public void registerAuthenticationProvider ( Class < ? extends AuthenticationProvider > providerClass ) { AuthenticationProvider provider = instantiateProvider ( providerClass ) ; authenticationProviders . put ( provider . getName ( ) , providerClass ) ; credentialAuths . put ( provider . getName ( ) , provider . requiresCredentials ( ) ) ; }
Registers an authentication provider to this class .