@Deprecated @ServerSide @ExtensionPoint public interface LoginPasswordAuthenticator
SecurityRealm
Modifier and Type | Method and Description |
---|---|
boolean |
authenticate(java.lang.String username,
java.lang.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 invokedjava.lang.RuntimeException
- if the authenticator can not be initialized at sonar server startup, eg. if the connection to LDAP server is refusedboolean authenticate(java.lang.String username, java.lang.String password)
java.lang.RuntimeException
- in case of unexpected error such as connection failure