Package com.example.seraphine.service
Interface UserService
- All Superinterfaces:
org.springframework.security.core.userdetails.UserDetailsService
- All Known Implementing Classes:
UserServiceImpl
@Service
public interface UserService
extends org.springframework.security.core.userdetails.UserDetailsService
Service for User.
- Author:
- Vinh Truong Canh Thanh, Loc Bui Nhien
-
Method Summary
Modifier and TypeMethodDescriptionvoid
editPersonalInfor
(Long id, User newUser) void
enableAppUser
(String email) org.springframework.security.core.userdetails.UserDetails
loadUserByUsername
(String username) Load user by usernamesignUpUser
(User appUser) void
updatePassword
(User user, String password)
-
Method Details
-
signUpUser
-
Forgot
-
enableAppUser
-
updatePassword
-
showPersonalInfor
-
editPersonalInfor
-
loadUserByUsername
org.springframework.security.core.userdetails.UserDetails loadUserByUsername(String username) throws org.springframework.security.core.userdetails.UsernameNotFoundException Load user by username- Specified by:
loadUserByUsername
in interfaceorg.springframework.security.core.userdetails.UserDetailsService
- Parameters:
username
- String- Throws:
org.springframework.security.core.userdetails.UsernameNotFoundException
-