org.springframework.beans.factory.InitializingBean, org.springframework.security.core.userdetails.UserDetailsService@Service
@Configuration
public class PlainUsernamePasswordUserDetailsService
extends java.lang.Object
implements org.springframework.security.core.userdetails.UserDetailsService, org.springframework.beans.factory.InitializingBean
| Constructor | Description |
|---|---|
PlainUsernamePasswordUserDetailsService() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
afterPropertiesSet() |
|
org.springframework.security.core.userdetails.UserDetails |
loadUserByUsername(java.lang.String username) |
public PlainUsernamePasswordUserDetailsService()
public void afterPropertiesSet()
throws java.lang.Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanjava.lang.Exceptionpublic org.springframework.security.core.userdetails.UserDetails loadUserByUsername(java.lang.String username)
throws org.springframework.security.core.userdetails.UsernameNotFoundException
loadUserByUsername in interface org.springframework.security.core.userdetails.UserDetailsServiceorg.springframework.security.core.userdetails.UsernameNotFoundExceptionCopyright © 2018. All rights reserved.