org.sonar.server.ui
Class AuthenticatorFactory

java.lang.Object
  extended by org.sonar.server.ui.AuthenticatorFactory
All Implemented Interfaces:
ServerComponent

public class AuthenticatorFactory
extends Object
implements ServerComponent


Constructor Summary
AuthenticatorFactory(Settings settings)
          This constructor is used when there aren't any authentication plugins.
AuthenticatorFactory(Settings settings, LoginPasswordAuthenticator[] authenticators)
           
 
Method Summary
 LoginPasswordAuthenticator getAuthenticator()
           
 void start()
          Start the authenticator selected in sonar configuration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthenticatorFactory

public AuthenticatorFactory(Settings settings,
                            LoginPasswordAuthenticator[] authenticators)

AuthenticatorFactory

public AuthenticatorFactory(Settings settings)
This constructor is used when there aren't any authentication plugins.

Method Detail

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.