public interface UserDao extends GenericDao<User,Long>
Modifier and Type | Method and Description |
---|---|
List<User> |
getUsers()
Gets a list of users ordered by the uppercase version of their username.
|
org.springframework.security.userdetails.UserDetails |
loadUserByUsername(String username)
Gets users information based on login name.
|
User |
saveUser(User user)
Saves a user's information.
|
org.springframework.security.userdetails.UserDetails loadUserByUsername(String username) throws org.springframework.security.userdetails.UsernameNotFoundException
username
- the user's usernameorg.acegisecurity.userdetails.UsernameNotFoundException
- thrown when user not found in databaseorg.springframework.security.userdetails.UsernameNotFoundException
List<User> getUsers()
Copyright © 2015. All rights reserved.