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 Details

    • signUpUser

      String signUpUser(User appUser)
    • Forgot

      String Forgot(String email, String password)
    • enableAppUser

      void enableAppUser(String email)
    • updatePassword

      void updatePassword(User user, String password)
    • showPersonalInfor

      User showPersonalInfor(Long id)
    • editPersonalInfor

      void editPersonalInfor(Long id, User newUser)
    • 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 interface org.springframework.security.core.userdetails.UserDetailsService
      Parameters:
      username - String
      Throws:
      org.springframework.security.core.userdetails.UsernameNotFoundException