@Deprecated
public interface LoginService
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
checkRememberMe(java.lang.String login,
java.lang.String rememberMeToken)
Deprecated.
Is not supported any more, returns false
|
int |
getBruteForceBlockIntervalSec()
Deprecated.
is not supported any more
|
UserSession |
getSession(java.util.UUID sessionId)
Deprecated.
|
UserSession |
getSystemSession(java.lang.String trustedClientPassword)
Deprecated.
|
boolean |
isBruteForceProtectionEnabled()
Deprecated.
always returns false
|
UserSession |
login(java.lang.String login,
java.lang.String password,
java.util.Locale locale)
Deprecated.
|
UserSession |
login(java.lang.String login,
java.lang.String password,
java.util.Locale locale,
java.util.Map<java.lang.String,java.lang.Object> params)
Deprecated.
|
int |
loginAttemptsLeft(java.lang.String login,
java.lang.String ipAddress)
Deprecated.
is not supported any more
|
UserSession |
loginByRememberMe(java.lang.String login,
java.lang.String rememberMeToken,
java.util.Locale locale)
Deprecated.
|
UserSession |
loginByRememberMe(java.lang.String login,
java.lang.String rememberMeToken,
java.util.Locale locale,
java.util.Map<java.lang.String,java.lang.Object> params)
Deprecated.
|
UserSession |
loginTrusted(java.lang.String login,
java.lang.String password,
java.util.Locale locale)
Deprecated.
|
UserSession |
loginTrusted(java.lang.String login,
java.lang.String password,
java.util.Locale locale,
java.util.Map<java.lang.String,java.lang.Object> params)
Deprecated.
|
void |
logout()
Deprecated.
|
int |
registerUnsuccessfulLogin(java.lang.String login,
java.lang.String ipAddress)
Deprecated.
is not supported any more
|
UserSession |
substituteUser(User substitutedUser)
Deprecated.
|
static final java.lang.String NAME
@Deprecated void logout()
AuthenticationService.logout()
@Deprecated UserSession substituteUser(User substitutedUser)
AuthenticationService.substituteUser(User)
substitutedUser
- a user to substitute. Must be in the current users' User.getSubstitutions()
list.@Nullable @Deprecated UserSession getSession(java.util.UUID sessionId)
TrustedClientService.findSession(String, UUID)
sessionId
- the session id@Deprecated UserSession getSystemSession(java.lang.String trustedClientPassword) throws LoginException
TrustedClientService.getSystemSession(String)
logout()
for obtained user session. It is cached on middleware for multiple clients. trustedClientPassword
- trusted client passwordLoginException
- in case of unsuccessful login@Deprecated UserSession login(java.lang.String login, java.lang.String password, java.util.Locale locale) throws LoginException
AuthenticationService.login(Credentials)
with LoginPasswordCredentials
.login
- loginpassword
- user's encrypted passwordlocale
- client localeLoginException
- in case of unsuccessful log in@Deprecated UserSession login(java.lang.String login, java.lang.String password, java.util.Locale locale, java.util.Map<java.lang.String,java.lang.Object> params) throws LoginException
AuthenticationService.login(Credentials)
with LoginPasswordCredentials
.login
- login namepassword
- encrypted passwordlocale
- client localeparams
- map of login parameters. Supported parameters are:
LoginException
- in case of unsuccessful login@Deprecated UserSession loginTrusted(java.lang.String login, java.lang.String password, java.util.Locale locale) throws LoginException
AuthenticationService.login(Credentials)
with TrustedClientCredentials
.login
- loginpassword
- client's encrypted trusted passwordlocale
- client localeLoginException
- in case of unsuccessful log in@Deprecated UserSession loginTrusted(java.lang.String login, java.lang.String password, java.util.Locale locale, java.util.Map<java.lang.String,java.lang.Object> params) throws LoginException
AuthenticationService.login(Credentials)
with TrustedClientCredentials
.login
- login namepassword
- client's encrypted trusted passwordlocale
- client localeparams
- login paramsLoginException
- in case of unsuccessful login@Deprecated UserSession loginByRememberMe(java.lang.String login, java.lang.String rememberMeToken, java.util.Locale locale) throws LoginException
AuthenticationService.login(Credentials)
with RememberMeCredentials
.login
- login namerememberMeToken
- client's remember me tokenlocale
- client localeLoginException
- in case of unsuccessful login@Deprecated UserSession loginByRememberMe(java.lang.String login, java.lang.String rememberMeToken, java.util.Locale locale, java.util.Map<java.lang.String,java.lang.Object> params) throws LoginException
AuthenticationService.login(Credentials)
with RememberMeCredentials
.login
- login namerememberMeToken
- client's remember me tokenlocale
- client localeparams
- login paramsLoginException
- in case of unsuccessful login@Deprecated boolean checkRememberMe(java.lang.String login, java.lang.String rememberMeToken)
login
- user loginrememberMeToken
- remember me token@Deprecated boolean isBruteForceProtectionEnabled()
@Deprecated int getBruteForceBlockIntervalSec()
@Deprecated int loginAttemptsLeft(java.lang.String login, java.lang.String ipAddress)
login
- user loginipAddress
- user IP-address@Deprecated int registerUnsuccessfulLogin(java.lang.String login, java.lang.String ipAddress)
login
- user loginipAddress
- user IP-address