public AuthenticationPlugIn<Credential> loadAuthenticationPlugIn(final String name) {
AuthenticationPlugIn<Credential> response = null;
synchronized (authenticationProviders) {
if (authenticationProviders.containsKey(name)) {
PlugInProvider provider = authenticationProviders.get(name);
response = provider.loadAuthenticationPlugIn(name);
if (response == null) {
// For some reason the provider that previosly handed this name is no longer handling it.
authenticationProviders.remove(name);
}
}