Class UserAuthDetailsService
- java.lang.Object
-
- com.dulanywebsite.sharedresources.auth.services.UserAuthDetailsService
-
- All Implemented Interfaces:
org.springframework.security.core.userdetails.UserDetailsService
@Service public class UserAuthDetailsService extends java.lang.Object implements org.springframework.security.core.userdetails.UserDetailsService
-
-
Constructor Summary
Constructors Constructor Description UserAuthDetailsService(UserRepository userRepository)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserPrincipalloadUserByUsername(java.lang.String s)
-
-
-
Constructor Detail
-
UserAuthDetailsService
@Autowired public UserAuthDetailsService(UserRepository userRepository)
-
-
Method Detail
-
loadUserByUsername
public UserPrincipal loadUserByUsername(java.lang.String s) throws org.springframework.security.core.userdetails.UsernameNotFoundException
- Specified by:
loadUserByUsernamein interfaceorg.springframework.security.core.userdetails.UserDetailsService- Throws:
org.springframework.security.core.userdetails.UsernameNotFoundException
-
-