org.sonar.server.ui
Class AuthenticatorFactory
java.lang.Object
org.sonar.server.ui.AuthenticatorFactory
- All Implemented Interfaces:
- ServerComponent
public class AuthenticatorFactory
- extends Object
- implements ServerComponent
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuthenticatorFactory
public AuthenticatorFactory(Settings settings,
LoginPasswordAuthenticator[] authenticators)
AuthenticatorFactory
public AuthenticatorFactory(Settings settings)
- This constructor is used when there aren't any authentication plugins.
start
public void start()
- Start the authenticator selected in sonar configuration. If no authentication plugin is selected, then
the default authentication mechanism is used and null is returned.
Throws a unchecked exception if the authenticator can not be started.
getAuthenticator
public LoginPasswordAuthenticator getAuthenticator()
Copyright © 2009-2012 SonarSource. All Rights Reserved.