public interface SmsUserDetailsService
Modifier and Type | Method and Description |
---|---|
org.springframework.security.core.userdetails.UserDetails |
loadUserByUsername(String username)
Locates the user based on the username.
|
org.springframework.security.core.userdetails.UserDetails loadUserByUsername(String username) throws org.springframework.security.core.userdetails.UsernameNotFoundException
UserDetails
object that comes back may have a username that is
of a different case than what was actually requested..username
- the username identifying the user whose data is required.null
)org.springframework.security.core.userdetails.UsernameNotFoundException
- if the user could not be found or the user
has no GrantedAuthorityCopyright © 2021. All rights reserved.