org.sonar.api.security
Class Authenticator
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Authenticator
public Authenticator()
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-2013 SonarSource. All Rights Reserved.