Class UserDetailsServiceImpl
java.lang.Object
es.samfc.learning.backend.security.service.UserDetailsServiceImpl
- All Implemented Interfaces:
org.springframework.security.core.userdetails.UserDetailsService
@Service
public class UserDetailsServiceImpl
extends Object
implements org.springframework.security.core.userdetails.UserDetailsService
-
Constructor Summary
ConstructorsConstructorDescriptionUserDetailsServiceImpl
(CredentialsRepository credentialsRepository, PlayerRepository playerRepository) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.core.userdetails.UserDetails
loadUserByUsername
(String username)
-
Constructor Details
-
UserDetailsServiceImpl
public UserDetailsServiceImpl(CredentialsRepository credentialsRepository, PlayerRepository playerRepository)
-
-
Method Details
-
loadUserByUsername
public org.springframework.security.core.userdetails.UserDetails loadUserByUsername(String username) throws org.springframework.security.core.userdetails.UsernameNotFoundException - Specified by:
loadUserByUsername
in interfaceorg.springframework.security.core.userdetails.UserDetailsService
- Throws:
org.springframework.security.core.userdetails.UsernameNotFoundException
-