org.apache.jetspeed.demo.servlet
Class SSOBasicDemoServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.apache.jetspeed.demo.servlet.SSOBasicDemoServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class SSOBasicDemoServlet
extends javax.servlet.http.HttpServlet

SSOBasicDemoServlet - this will only run in Tomcat 4 and 5 where there is a tomcat user name tomcat with the password tomcat and with a role named tomcat.

Version:
$Id: SSOBasicDemoServlet.java 516448 2007-03-09 16:25:47Z ate $
Author:
David Sean Taylor
See Also:
Serialized Form

Field Summary
static String DEMO_SSO_CREDENTIAL
           
static String DEMO_SSO_CREDENTIAL_PARAM
           
static String DEMO_SSO_PRINCIPAL_PARAM
           
 
Constructor Summary
SSOBasicDemoServlet()
           
 
Method Summary
 void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEMO_SSO_PRINCIPAL_PARAM

public static final String DEMO_SSO_PRINCIPAL_PARAM
See Also:
Constant Field Values

DEMO_SSO_CREDENTIAL_PARAM

public static final String DEMO_SSO_CREDENTIAL_PARAM
See Also:
Constant Field Values

DEMO_SSO_CREDENTIAL

public static final String DEMO_SSO_CREDENTIAL
See Also:
Constant Field Values
Constructor Detail

SSOBasicDemoServlet

public SSOBasicDemoServlet()
Method Detail

doGet

public final void doGet(javax.servlet.http.HttpServletRequest request,
                        javax.servlet.http.HttpServletResponse response)
                 throws IOException,
                        javax.servlet.ServletException
Overrides:
doGet in class javax.servlet.http.HttpServlet
Throws:
IOException
javax.servlet.ServletException

doPost

public final void doPost(javax.servlet.http.HttpServletRequest req,
                         javax.servlet.http.HttpServletResponse res)
                  throws IOException,
                         javax.servlet.ServletException
Overrides:
doPost in class javax.servlet.http.HttpServlet
Throws:
IOException
javax.servlet.ServletException


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.