Module sc2002_fypms
Package services

Class AuthStudentService

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean login​(java.lang.String userID, java.lang.String password)
      Logs in a user with the specified user ID and password.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AuthStudentService

        public AuthStudentService()
        Constructs an instance of the AuthStudentService class.
    • Method Detail

      • login

        public boolean login​(java.lang.String userID,
                             java.lang.String password)
        Description copied from interface: IAuthService
        Logs in a user with the specified user ID and password.
        Specified by:
        login in interface IAuthService
        Specified by:
        login in class AuthService
        Parameters:
        userID - the ID of the user
        password - the user's password
        Returns:
        true if the login was successful, false otherwise