Main Page | Packages | Class Hierarchy | Class List | Directories | Class Members | Related Pages

org.colimas.web.filter.AuthenticationFilter Class Reference

List of all members.

Public Member Functions

void init (FilterConfig config) throws ServletException
void doFilter (ServletRequest request, ServletResponse response, FilterChain next) throws IOException, ServletException
void destroy ()

Static Public Attributes

static final String INIT_PARAM_LOGON_FWD = "logon-forward"

Protected Member Functions

void requestAuthentication (HttpServletResponse response) throws IOException
void setCurrentUri (HttpServletRequest httpRequest)

Detailed Description

AuthenticationFilter.java

Function:
Filter implementation for user authentication

Author:
zhao lei
Version:
1.0
Modification History:
 SEQ DATE       ORDER DEVELOPER      DESCRIPTION
 --- ---------- ----- -------------- -----------------------------
 001 2005/12/03          zhao lei       INIT
 002 2005/12/11          zhao lei       add comment
 


Member Function Documentation

void org.colimas.web.filter.AuthenticationFilter.destroy  ) 
 

destroy() method is called by the servlet container

void org.colimas.web.filter.AuthenticationFilter.doFilter ServletRequest  request,
ServletResponse  response,
FilterChain  next
throws IOException, ServletException
 

User Authentication is done. If User is authenticated successful then control is transferred to logon URI

Parameters:
ServletRequest Request
ServletRequest Response
FilterChain Filter Chain
Exceptions:
ServletException,IOException 

void org.colimas.web.filter.AuthenticationFilter.init FilterConfig  config  )  throws ServletException
 

store the reference of the FilterConfig.

Parameters:
config FilterConfig object
Exceptions:
ServletException 

void org.colimas.web.filter.AuthenticationFilter.requestAuthentication HttpServletResponse  response  )  throws IOException [protected]
 

Request authentication

void org.colimas.web.filter.AuthenticationFilter.setCurrentUri HttpServletRequest  httpRequest  )  [protected]
 

Request uri is stored in session for ui transfer

Parameters:
httpRequest 


Member Data Documentation

final String org.colimas.web.filter.AuthenticationFilter.INIT_PARAM_LOGON_FWD = "logon-forward" [static]
 

Depending on the INIT_PARAM_LOGON_FWD value request will be dispatched to logon URI


The documentation for this class was generated from the following file:
Generated on Sat Jan 14 02:04:47 2006 for Colimas by  doxygen 1.4.4