@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) |
Modifier and Type | Method and Description |
---|---|
org.springframework.security.core.userdetails.UserDetails |
loadUserByUsername(String name) |
@ConstructorProperties(value="repository") @Generated(value="lombok") public UserAccountDetailService(@NonNull UserAccountRepository repository)
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.UserDetailsService
org.springframework.security.core.userdetails.UsernameNotFoundException
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.