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.


Constructor Index

 o Validator()

Method Index

 o Validate(HttpServletRequest, Connection)
Method to validate a user

Constructors

 o Validator
 public Validator()

Methods

 o 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