| Package | Description |
|---|---|
| de.hybris.platform.servicelayer.security.auth | |
| de.hybris.platform.servicelayer.security.auth.impl |
| Modifier and Type | Method and Description |
|---|---|
UserModel |
AuthenticationService.checkCredentials(java.lang.String login,
java.lang.String password)
check credentials.
|
UserModel |
AuthenticationService.login(java.lang.String login,
java.lang.String password)
login the user identified with login and password.
|
| Modifier and Type | Method and Description |
|---|---|
protected InvalidCredentialsException |
DefaultAuthenticationService.buildInvalidCredentialsException()
for security reasons we should throw same exception for both cases:
user not found
password does not match You can overwrite this method and adapt the exception and/or test that should be
thrown in this case
|
protected InvalidCredentialsException |
DefaultAuthenticationService.buildInvalidCredentialsException(java.lang.String message) |
| Modifier and Type | Method and Description |
|---|---|
UserModel |
DefaultAuthenticationService.checkCredentials(java.lang.String login,
java.lang.String password) |
UserModel |
DefaultAuthenticationService.login(java.lang.String login,
java.lang.String password) |
void |
DefaultAuthenticationServiceTest.shouldLoginWhenUserIsDeactivatedInFuture() |
void |
DefaultAuthenticationServiceTest.shouldThrowInvalidCredentialsExceptionWhenUserIsAnonymousAndAnonymousLoginIsDisabled() |
void |
DefaultAuthenticationServiceTest.testCheckCredentials() |
void |
DefaultAuthenticationServiceTest.testCheckCredentialsWrongPwd() |
void |
DefaultAuthenticationServiceTest.testCheckCredentialsWrongUser() |
void |
DefaultAuthenticationServiceTest.testLoginLogout() |
void |
DefaultAuthenticationServiceTest.testLoginWrongPwd() |
void |
DefaultAuthenticationServiceTest.testLoginWrongUser() |
Copyright © 2018 SAP SE. All Rights Reserved.