Class Validator
java.lang.Object
|
+----Validator
- public class Validator
- extends Object
Class to Validate a login. It is called by Main Servlet at
the time any one logs in and returns the designation of the
person if he/she is authorized user.
-
Validator()
-
-
Validate(HttpServletRequest, Connection)
- Method to validate a user
Validator
public Validator()
Validate
public String Validate(HttpServletRequest Req,
Connection Conn)
- Method to validate a user
- Parameters:
- Req - HttpServletRequest instance
- Conn - Connection
- Returns:
- The type of person logging in ie whether root,student or faculty