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