org.apache.jetspeed.portlet
Class SSOWebContentPortlet
java.lang.Object
javax.portlet.GenericPortlet
org.apache.portals.bridges.common.GenericServletPortlet
org.apache.portals.bridges.velocity.GenericVelocityPortlet
org.apache.jetspeed.portlet.WebContentPortlet
org.apache.jetspeed.portlet.SSOWebContentPortlet
- All Implemented Interfaces:
- javax.portlet.Portlet, javax.portlet.PortletConfig
- public class SSOWebContentPortlet
- extends WebContentPortlet
SSOWebContentPortlet
- Version:
- $Id: SSOWebContentPortlet.java 188158 2005-01-04 23:18:04Z taylor $
- Author:
- David Sean Taylor
Fields inherited from class org.apache.jetspeed.portlet.WebContentPortlet |
BLOCK_SIZE, CACHE, CURRENT_URL, defaultEncoding, EDIT_SOURCE_PARAM, isSSOEnabled, LAST_STATE, LAST_URL, rewriteController, rewriter, 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 |
Fields inherited from class javax.portlet.GenericPortlet |
|
Method Summary |
void |
doEdit(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
|
void |
doView(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
doView Renders the URL in the following order 1) SESSION_PARAMETER
2)cached version 3) defined for preference SRC |
private Subject |
getSubject()
|
String |
getURLSource(String src,
javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
|
void |
init(javax.portlet.PortletConfig config)
Initialize portlet configuration. |
void |
processAction(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse actionResponse)
processAction() Checks action initiated by the WebContent portlet which
means that a user has clicked on an URL |
Methods inherited from class org.apache.portals.bridges.velocity.GenericVelocityPortlet |
doCustom, doHelp, doPreferencesEdit, 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 |
SSO_TYPE
public static final String SSO_TYPE
- See Also:
- Constant Field Values
SSO_TYPE_URL
public static final String SSO_TYPE_URL
- See Also:
- Constant Field Values
SSO_TYPE_URL_BASE64
public static final String SSO_TYPE_URL_BASE64
- See Also:
- Constant Field Values
SSO_TYPE_HTTP
public static final String SSO_TYPE_HTTP
- See Also:
- Constant Field Values
SSO_TYPE_CERTIFICATE
public static final String SSO_TYPE_CERTIFICATE
- See Also:
- Constant Field Values
SSO_TYPE_URL_USERNAME
public static final String SSO_TYPE_URL_USERNAME
- See Also:
- Constant Field Values
SSO_TYPE_URL_PASSWORD
public static final String SSO_TYPE_URL_PASSWORD
- See Also:
- Constant Field Values
SSO_REQUEST_ATTRIBUTE_USERNAME
public static final String SSO_REQUEST_ATTRIBUTE_USERNAME
- See Also:
- Constant Field Values
SSO_REQUEST_ATTRIBUTE_PASSWORD
public static final String SSO_REQUEST_ATTRIBUTE_PASSWORD
- See Also:
- Constant Field Values
SSO_FORM_PRINCIPAL
public static final String SSO_FORM_PRINCIPAL
- See Also:
- Constant Field Values
SSO_FORM_CREDENTIAL
public static final String SSO_FORM_CREDENTIAL
- See Also:
- Constant Field Values
context
private javax.portlet.PortletContext context
sso
private org.apache.jetspeed.sso.SSOProvider sso
SSOWebContentPortlet
public SSOWebContentPortlet()
init
public void init(javax.portlet.PortletConfig config)
throws javax.portlet.PortletException
- Description copied from class:
WebContentPortlet
- Initialize portlet configuration.
- Specified by:
init
in interface javax.portlet.Portlet
- Overrides:
init
in class WebContentPortlet
- Throws:
javax.portlet.PortletException
processAction
public void processAction(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse actionResponse)
throws javax.portlet.PortletException,
IOException
- Description copied from class:
WebContentPortlet
- processAction() Checks action initiated by the WebContent portlet which
means that a user has clicked on an URL
- Specified by:
processAction
in interface javax.portlet.Portlet
- Overrides:
processAction
in class WebContentPortlet
- Parameters:
request
- actionResponse
-
- Throws:
javax.portlet.PortletException
IOException
doView
public void doView(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
throws javax.portlet.PortletException,
IOException
- Description copied from class:
WebContentPortlet
- doView Renders the URL in the following order 1) SESSION_PARAMETER
2)cached version 3) defined for preference SRC
- Overrides:
doView
in class WebContentPortlet
- Throws:
javax.portlet.PortletException
IOException
doEdit
public void doEdit(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
throws javax.portlet.PortletException,
IOException
- Overrides:
doEdit
in class WebContentPortlet
- Throws:
javax.portlet.PortletException
IOException
getSubject
private Subject getSubject()
getURLSource
public String getURLSource(String src,
javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
- Overrides:
getURLSource
in class WebContentPortlet
Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.