Home > AI > Backend > SpringBoot > spring-boot-starter-security >

UserDetailsService

UserDetailsService interface is used in order to lookup the username, password and GrantedAuthorities for any given user.

This interface provide only one method which implementing class need to implement-

UserDetails loadUserByUsername(String username) throws UsernameNotFoundException;

Leave a Reply