Package com.Server.service.impl
Class UserDetailsServiceImpl
java.lang.Object
com.Server.service.impl.UserDetailsServiceImpl
- All Implemented Interfaces:
org.springframework.security.core.userdetails.UserDetailsService
@Service
public class UserDetailsServiceImpl
extends java.lang.Object
implements org.springframework.security.core.userdetails.UserDetailsService
Class Service implements interface UserDetailsService.
- Since:
- 2020-12-29.
- Version:
- 1.0
- Author:
- Krystian Cwioro Kamil Bieniasz Damian Mierzynski.
-
Field Summary
Fields Modifier and Type Field Description private UserServiceImpluserServiceImpluserServiceImpl -
Constructor Summary
Constructors Constructor Description UserDetailsServiceImpl(UserServiceImpl userServiceImpl) -
Method Summary
Modifier and Type Method Description org.springframework.security.core.userdetails.UserDetailsloadUserByUsername(java.lang.String username)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
userServiceImpl
userServiceImpl
-
-
Constructor Details
-
UserDetailsServiceImpl
-
-
Method Details
-
loadUserByUsername
public org.springframework.security.core.userdetails.UserDetails loadUserByUsername(java.lang.String username) throws org.springframework.security.core.userdetails.UsernameNotFoundException- Specified by:
loadUserByUsernamein interfaceorg.springframework.security.core.userdetails.UserDetailsService- Throws:
org.springframework.security.core.userdetails.UsernameNotFoundException
-