@Service class UserAccountDetailService extends Object implements org.springframework.security.core.userdetails.UserDetailsService
UserDetailsService implementation using the UserAccountRepository to obtain user information for
login.http://docs.spring.io/spring-security/site/docs/3.2.x/reference/html/technical-overview.html| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
UserAccountDetailService.UserAccountDetails |
| Constructor and Description |
|---|
UserAccountDetailService(UserAccountRepository repository)
Creates a new
UserAccountDetailService using the given UserAccountRepository. |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.security.core.userdetails.UserDetails |
loadUserByUsername(String name) |
@Autowired public UserAccountDetailService(UserAccountRepository repository)
UserAccountDetailService using the given UserAccountRepository.repository - must not be null.public org.springframework.security.core.userdetails.UserDetails loadUserByUsername(String name) throws org.springframework.security.core.userdetails.UsernameNotFoundException
loadUserByUsername in interface org.springframework.security.core.userdetails.UserDetailsServiceorg.springframework.security.core.userdetails.UsernameNotFoundExceptionCopyright © 2014 Pivotal Software, Inc.. All rights reserved.