@Deprecated @ServerSide @ExtensionPoint public interface LoginPasswordAuthenticator
SecurityRealm
Modifier and Type | Method and Description |
---|---|
boolean |
authenticate(String username,
String password)
Deprecated.
|
void |
init()
Deprecated.
in 2.14, but was left for backward compatibility - when this authenticator is not a part of
SecurityRealm , otherwise has no effect and not invoked |
@Deprecated void init()
SecurityRealm
, otherwise has no effect and not invokedRuntimeException
- if the authenticator can not be initialized at sonar server startup, eg. if the connection to LDAP server is refusedboolean authenticate(String username, String password)
RuntimeException
- in case of unexpected error such as connection failureCopyright © 2009–2018 SonarSource. All rights reserved.