org.jasig.portal
Class LoginServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.jasig.portal.LoginServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class LoginServlet
extends HttpServlet

Receives the username and password and tries to authenticate the user. The form presented by org.jasig.portal.channels.CLogin is typically used to generate the post to this servlet.

Version:
$Revision: 19776 $
Author:
Bernie Durfee (bdurfee@interactivebusiness.com), Don Fracapane (df7@columbia.edu) Added properties in the security properties file that hold the tokens used to represent the principal and credential for each security context.
See Also:
Serialized Form

Field Summary
protected  Authentication m_authenticationService
           
static String SWAP_ORIGINAL_UID
           
static String SWAP_TARGET_UID
           
 
Constructor Summary
LoginServlet()
           
 
Method Summary
 void init()
          Initializes the servlet
 void service(HttpServletRequest request, HttpServletResponse response)
          Process the incoming HttpServletRequest
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SWAP_TARGET_UID

public static final String SWAP_TARGET_UID

SWAP_ORIGINAL_UID

public static final String SWAP_ORIGINAL_UID

m_authenticationService

protected Authentication m_authenticationService
Constructor Detail

LoginServlet

public LoginServlet()
Method Detail

init

public void init()
          throws ServletException
Initializes the servlet

Overrides:
init in class GenericServlet
Throws:
ServletException

service

public void service(HttpServletRequest request,
                    HttpServletResponse response)
             throws ServletException,
                    IOException
Process the incoming HttpServletRequest

Overrides:
service in class HttpServlet
Parameters:
request -
response -
Throws:
ServletException
IOException


Copyright © 2010 Jasig. All Rights Reserved.