- java.lang.Object
-
- services.AuthService
-
- services.AuthFYPCoordinatorService
-
- All Implemented Interfaces:
IAuthService
public class AuthFYPCoordinatorService extends AuthService
TheAuthFYPCoordinatorService
class extendsAuthService
and provides the login functionality for FYP Coordinators.
-
-
Constructor Summary
Constructors Constructor Description AuthFYPCoordinatorService()
Constructs an instance of theAuthFYPCoordinatorService
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
-
AuthFYPCoordinatorService
public AuthFYPCoordinatorService()
Constructs an instance of theAuthFYPCoordinatorService
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
-
-