- java.lang.Object
-
- services.AuthService
-
- services.AuthSupervisorService
-
- All Implemented Interfaces:
IAuthService
public class AuthSupervisorService extends AuthService
TheAuthSupervisorService
class extendsAuthService
and provides the login functionality for supervisors.
-
-
Constructor Summary
Constructors Constructor Description AuthSupervisorService()
Constructs an instance of theAuthSupervisorService
class.
-
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 services.AuthService
authenticate, logout
-
-
-
-
Constructor Detail
-
AuthSupervisorService
public AuthSupervisorService()
Constructs an instance of theAuthSupervisorService
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 interfaceIAuthService
- Specified by:
login
in classAuthService
- Parameters:
userID
- the ID of the userpassword
- the user's password- Returns:
- true if the login was successful, false otherwise
-
-