org.apache.jetspeed.demo.servlet
Class SSOBasicDemoServlet

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended byorg.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 188027 2004-12-02 03:13:30Z taylor $
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
           
 
Fields inherited from class javax.servlet.http.HttpServlet
 
Fields inherited from class javax.servlet.GenericServlet
 
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
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
Throws:
IOException
javax.servlet.ServletException


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