public interface AuthenticationService
| Modifier and Type | Method and Description |
|---|---|
UserModel |
checkCredentials(String login,
String password)
check credentials.
|
UserModel |
login(String login,
String password)
login the user identified with login and password.
|
void |
logout()
log out the current user.
|
UserModel checkCredentials(String login, String password) throws InvalidCredentialsException
login - the loginpassword - the passwordInvalidCredentialsException - if username/login does not matchUserModel login(String login, String password) throws InvalidCredentialsException
login - the loginpassword - the passwordInvalidCredentialsException - if username/login does not matchvoid logout()
Copyright © 2017 SAP SE. All Rights Reserved.