org.apache.jetspeed.portlet
Class SSOTicketPortlet

java.lang.Object
  extended by javax.portlet.GenericPortlet
      extended by org.apache.portals.bridges.common.GenericServletPortlet
          extended by org.apache.portals.bridges.velocity.GenericVelocityPortlet
              extended by org.apache.jetspeed.portlet.WebContentPortlet
                  extended by org.apache.jetspeed.portlet.SSOWebContentPortlet
                      extended by org.apache.jetspeed.portlet.SSOTicketPortlet
All Implemented Interfaces:
javax.portlet.Portlet, javax.portlet.PortletConfig

public class SSOTicketPortlet
extends SSOWebContentPortlet


Field Summary
protected  Class adaptorHtmlClass
           
static String FORM_GET_METHOD
           
static String FORM_MULTIPART_METHOD
           
static String FORM_POST_METHOD
           
static String SSO_PREF_TICKET_NAME
           
 
Fields inherited from class org.apache.jetspeed.portlet.SSOWebContentPortlet
BASIC_AUTH_SCHEME_NAME, context, FORM_AUTH_STATE, log, sso, SSO_EDIT_FIELD_CREDENTIAL, SSO_EDIT_FIELD_PRINCIPAL, SSO_REQUEST_ATTRIBUTE_PASSWORD, SSO_REQUEST_ATTRIBUTE_USERNAME, SSO_TYPE, SSO_TYPE_BASIC, SSO_TYPE_BASIC_PREEMPTIVE, SSO_TYPE_CERTIFICATE, SSO_TYPE_DEFAULT, SSO_TYPE_FORM, SSO_TYPE_FORM_ACTION_ARGS, SSO_TYPE_FORM_ACTION_URL, SSO_TYPE_FORM_GET, SSO_TYPE_FORM_PASSWORD_FIELD, SSO_TYPE_FORM_POST, SSO_TYPE_FORM_USERNAME_FIELD, SSO_TYPE_HTTP, SSO_TYPE_URL, SSO_TYPE_URL_BASE64, SSO_TYPE_URL_PASSWORD_PARAM, SSO_TYPE_URL_USERNAME_PARAM
 
Fields inherited from class org.apache.jetspeed.portlet.WebContentPortlet
BLOCK_SIZE, BROWSER_ACTION_NEXT_PAGE, BROWSER_ACTION_PARAM, BROWSER_ACTION_PREVIOUS_PAGE, BROWSER_ACTION_REFRESH_PAGE, defaultEncoding, EDIT_SOURCE_PARAM, HISTORY, HTTP_STATE, VIEW_SOURCE_PARAM
 
Fields inherited from class org.apache.portals.bridges.velocity.GenericVelocityPortlet
PORTLET_BRIDGE_CONTEXT
 
Fields inherited from class org.apache.portals.bridges.common.GenericServletPortlet
PARAM_ACTION_PAGE, PARAM_ALLOW_PREFERENCES, PARAM_CUSTOM_PAGE, PARAM_EDIT_PAGE, PARAM_HELP_PAGE, PARAM_MAX_PAGE, PARAM_VIEW_PAGE
 
Constructor Summary
SSOTicketPortlet()
           
 
Method Summary
 org.apache.jetspeed.rewriter.ParserAdaptor createParserAdaptor()
           
protected  org.apache.commons.httpclient.HttpMethodBase getHttpMethod(org.apache.commons.httpclient.HttpClient client, String uri, Map params, String formMethod, javax.portlet.RenderRequest request)
           
private  String requestTicket(String url, javax.portlet.RenderRequest request, javax.portlet.RenderResponse response)
           
 
Methods inherited from class org.apache.jetspeed.portlet.SSOWebContentPortlet
doEdit, doPreemptiveAuthentication, doRequestedAuthentication, doView, getSingleSignOnAuthType, init, processAction
 
Methods inherited from class org.apache.jetspeed.portlet.WebContentPortlet
doHttpWebContent, doWebContent, getHttpClient, getURLSource
 
Methods inherited from class org.apache.portals.bridges.velocity.GenericVelocityPortlet
doCustom, doHelp, doPreferencesEdit, getContext, getContext, render, setupPreferencesEdit
 
Methods inherited from class org.apache.portals.bridges.common.GenericServletPortlet
getDefaultActionPage, getDefaultCustomPage, getDefaultEditPage, getDefaultHelpPage, getDefaultViewPage, processPreferencesAction, setDefaultActionPage, setDefaultCustomPage, setDefaultEditPage, setDefaultHelpPage, setDefaultViewPage
 
Methods inherited from class javax.portlet.GenericPortlet
destroy, doDispatch, getInitParameter, getInitParameterNames, getPortletConfig, getPortletContext, getPortletName, getResourceBundle, getTitle, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SSO_PREF_TICKET_NAME

public static final String SSO_PREF_TICKET_NAME
See Also:
Constant Field Values

adaptorHtmlClass

protected Class adaptorHtmlClass

FORM_POST_METHOD

public static final String FORM_POST_METHOD
See Also:
Constant Field Values

FORM_GET_METHOD

public static final String FORM_GET_METHOD
See Also:
Constant Field Values

FORM_MULTIPART_METHOD

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

SSOTicketPortlet

public SSOTicketPortlet()
Method Detail

getHttpMethod

protected org.apache.commons.httpclient.HttpMethodBase getHttpMethod(org.apache.commons.httpclient.HttpClient client,
                                                                     String uri,
                                                                     Map params,
                                                                     String formMethod,
                                                                     javax.portlet.RenderRequest request)
                                                              throws IOException
Overrides:
getHttpMethod in class WebContentPortlet
Throws:
IOException

requestTicket

private String requestTicket(String url,
                             javax.portlet.RenderRequest request,
                             javax.portlet.RenderResponse response)

createParserAdaptor

public org.apache.jetspeed.rewriter.ParserAdaptor createParserAdaptor()
                                                               throws org.apache.jetspeed.rewriter.RewriterException
Throws:
org.apache.jetspeed.rewriter.RewriterException


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