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) |
public UserDetailsService(DataService dataService, org.springframework.security.core.authority.mapping.GrantedAuthoritiesMapper grantedAuthoritiesMapper)
public org.springframework.security.core.userdetails.UserDetails loadUserByUsername(String username)
loadUserByUsername in interface org.springframework.security.core.userdetails.UserDetailsServicepublic Collection<? extends org.springframework.security.core.GrantedAuthority> getAuthorities(User user)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.