public interface UserService<U extends RestxPrincipal>
| Modifier and Type | Method and Description |
|---|---|
com.google.common.base.Optional<U> |
findAndCheckCredentials(String name,
String passwordHash)
Finds a user by name in repository and check its passwordHash
|
com.google.common.base.Optional<U> |
findUserByName(String name)
Finds a user by name in the repository.
|
Copyright © 2014. All Rights Reserved.