public class UserDetailsService extends Object implements org.springframework.security.core.userdetails.UserDetailsService
| Constructor and Description |
|---|
UserDetailsService(DataService dataService,
org.springframework.security.core.authority.mapping.GrantedAuthoritiesMapper grantedAuthoritiesMapper) |
| Modifier and Type | Method and Description |
|---|---|
Collection<? extends org.springframework.security.core.GrantedAuthority> |
getAuthorities(User user) |
org.springframework.security.core.userdetails.UserDetails |
loadUserByUsername(String username) |
@Autowired public UserDetailsService(DataService dataService, org.springframework.security.core.authority.mapping.GrantedAuthoritiesMapper grantedAuthoritiesMapper)
public org.springframework.security.core.userdetails.UserDetails loadUserByUsername(String username) throws org.springframework.security.core.userdetails.UsernameNotFoundException
loadUserByUsername in interface org.springframework.security.core.userdetails.UserDetailsServiceorg.springframework.security.core.userdetails.UsernameNotFoundExceptionpublic Collection<? extends org.springframework.security.core.GrantedAuthority> getAuthorities(User user)
Copyright © 2017. All rights reserved.