|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UserDetailsService
Core interface which loads user-specific data.
It is used throughout the framework as a user DAO and is the strategy used by the
DaoAuthenticationProvider.
The interface requires only one read-only method, which simplifies support for new data-access strategies.
DaoAuthenticationProvider,
UserDetails| Method Summary | |
|---|---|
UserDetails |
loadUserByUsername(String username)
Locates the user based on the username. |
| Method Detail |
|---|
UserDetails loadUserByUsername(String username)
throws UsernameNotFoundException,
DataAccessException
UserDetails object that comes back may have a username that is of a different case than what was
actually requested..
username - the username presented to the DaoAuthenticationProvider
null)
UsernameNotFoundException - if the user could not be found or the user has no GrantedAuthority
DataAccessException - if user could not be found for a repository-specific reason
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||