Class AuthFailSession

java.lang.Object
   |
   +----Session
           |
           +----AuthFailSession

public class AuthFailSession
extends Session
A class to handle the case when login fails.


Constructor Index

 o AuthFailSession()

Method Index

 o printPage(Connection, PrintWriter, HttpServletRequest, String)
A method to print the page for failed login.
 o printRespectivePage(String, PrintWriter)
A method to print the specified file on to the specified printwriter.
 o processData(HttpServletRequest, Connection, PrintWriter)
Method to process data posted from a form

Constructors

 o AuthFailSession
 public AuthFailSession()

Methods

 o printPage
 public void printPage(Connection Conn,
                       PrintWriter out,
                       HttpServletRequest Req,
                       String Cook)
A method to print the page for failed login. Uses a predefined HTML file for the contents of the page

Parameters:
Conn - Connection instance
out - PrintWriter instnce
Req - HttpServletRequest
Cook - Cookie
Returns:
Nothing
Overrides:
printPage in class Session
 o processData
 public void processData(HttpServletRequest Req,
                         Connection Conn,
                         PrintWriter out)
Method to process data posted from a form

Overrides:
processData in class Session
 o printRespectivePage
 public void printRespectivePage(String Filename,
                                 PrintWriter out) throws FileNotFoundException, IOException
A method to print the specified file on to the specified printwriter.

Parameters:
Filename - Name of the file
out - PrintWriter instance
Returns:
Nothing