Package no.idata1002.group19.service
Class UserDetailsServiceImpl
java.lang.Object
no.idata1002.group19.service.UserDetailsServiceImpl
- All Implemented Interfaces:
org.springframework.security.core.userdetails.UserDetailsService
@Service
public class UserDetailsServiceImpl
extends Object
implements org.springframework.security.core.userdetails.UserDetailsService
Represents UserDetailsService and implements UserDetailService
from Spring Security to provide user authentication and authorization
services.
- Since:
- 16.04.2023
- Version:
- 16.04.2023
- Author:
- Group19
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.core.userdetails.UserDetails
loadUserByUsername
(String username)
-
Constructor Details
-
UserDetailsServiceImpl
public UserDetailsServiceImpl()
-
-
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
-