public class ClientDetailsUserDetailsService extends Object implements org.springframework.security.core.userdetails.UserDetailsService
Constructor and Description |
---|
ClientDetailsUserDetailsService(ClientDetailsService clientDetailsService) |
Modifier and Type | Method and Description |
---|---|
org.springframework.security.core.userdetails.UserDetails |
loadUserByUsername(String username) |
void |
setPasswordEncoder(org.springframework.security.crypto.password.PasswordEncoder passwordEncoder) |
public ClientDetailsUserDetailsService(ClientDetailsService clientDetailsService)
public void setPasswordEncoder(org.springframework.security.crypto.password.PasswordEncoder passwordEncoder)
passwordEncoder
- the password encoder to setpublic org.springframework.security.core.userdetails.UserDetails loadUserByUsername(String username) throws org.springframework.security.core.userdetails.UsernameNotFoundException
loadUserByUsername
in interface org.springframework.security.core.userdetails.UserDetailsService
org.springframework.security.core.userdetails.UsernameNotFoundException
Copyright © 2019. All rights reserved.