org.sonar.api.security
Class Authenticator

java.lang.Object
  extended by org.sonar.api.security.Authenticator
All Implemented Interfaces:
Extension, ServerComponent, ServerExtension

public abstract class Authenticator
extends Object
implements ServerExtension

Since:
3.1
See Also:
SecurityRealm

Nested Class Summary
static class Authenticator.Context
           
 
Constructor Summary
Authenticator()
           
 
Method Summary
abstract  boolean doAuthenticate(Authenticator.Context context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Authenticator

public Authenticator()
Method Detail

doAuthenticate

public abstract boolean doAuthenticate(Authenticator.Context context)
Returns:
true if user was successfully authenticated with specified credentials, false otherwise
Throws:
RuntimeException - in case of unexpected error such as connection failure


Copyright © 2009-2014 SonarSource. All Rights Reserved.