Package interfaces

Interface IUserService

  • All Known Implementing Classes:
    UserService

    public interface IUserService
    The IUserService interface defines a contract for user services
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean changePassword​(java.lang.String newPassword)
      Changes the password of user if provided old password matches current password
    • Method Detail

      • changePassword

        boolean changePassword​(java.lang.String newPassword)
        Changes the password of user if provided old password matches current password
        Parameters:
        newPassword - user's new password
        Returns:
        True if password was changed successfully, False otherwise