public interface UserDao extends GenericDao<User,Long>
| Modifier and Type | Method and Description |
|---|---|
String |
getUserPassword(Long userId)
Retrieves the password in DB for a user
|
List<User> |
getUsers()
Gets a list of users ordered by the uppercase version of their username.
|
org.springframework.security.core.userdetails.UserDetails |
loadUserByUsername(String username)
Gets users information based on login name.
|
User |
saveUser(User user)
Saves a user's information.
|
exists, findByNamedQuery, get, getAll, getAllDistinct, reindex, reindexAll, remove, remove, save, search@Transactional org.springframework.security.core.userdetails.UserDetails loadUserByUsername(String username) throws org.springframework.security.core.userdetails.UsernameNotFoundException
username - the user's usernameorg.springframework.security.core.userdetails.UsernameNotFoundException - thrown when user not
found in databaseList<User> getUsers()
User saveUser(User user)
user - the object to be savedCopyright © 2003–2013. All rights reserved.