|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.portlet.GenericPortlet
org.apache.portals.bridges.common.GenericServletPortlet
org.apache.portals.bridges.velocity.GenericVelocityPortlet
org.apache.jetspeed.portlet.sso.SSOProxyPortlet
public class SSOProxyPortlet
SSOProxyPortlet This portlet can be used as a bridge to any URL. It acts as a http client and therefore it can store cookies. The main purpose is that the SSOProxy portlet authenticates any SSO credential for the principal user not knowing in advance what URL the user might select. No login prompt will appear for any url in the portlet for that an SSO entry exists and the principal user has permissions.
Field Summary | |
---|---|
(package private) static String |
ACTION_PARAMETER_SSOPROXY
ACTION_PARAMETER_SSOPROXY |
(package private) static int |
BLOCK_SIZE
Block Size |
private javax.portlet.PortletContext |
context
|
String |
defaultEncoding
Default encoding UTF-8 |
(package private) static String |
DESTINATION_URL
DestinationURL |
private String |
destinationURL
|
private String |
encoding
|
(package private) static String |
ENCODING
Encoding |
(package private) static String |
FORCE_SSO_REFRESH
ForceSSORefresh |
private boolean |
isAuthenticated
|
private org.apache.jetspeed.sso.SSOProvider |
sso
|
(package private) static String |
SSO_SITE
SSOSite |
private String |
ssoSite
|
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 | |
---|---|
SSOProxyPortlet()
|
Method Summary | |
---|---|
void |
doEdit(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
|
void |
doView(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
|
private Subject |
getSubject()
|
void |
init(javax.portlet.PortletConfig config)
|
void |
processAction(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse actionResponse)
|
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 |
---|
private javax.portlet.PortletContext context
private org.apache.jetspeed.sso.SSOProvider sso
private boolean isAuthenticated
public String defaultEncoding
static final int BLOCK_SIZE
static final String ACTION_PARAMETER_SSOPROXY
static final String DESTINATION_URL
static final String SSO_SITE
static final String FORCE_SSO_REFRESH
static final String ENCODING
private String destinationURL
private String ssoSite
private String encoding
Constructor Detail |
---|
public SSOProxyPortlet()
Method Detail |
---|
public void init(javax.portlet.PortletConfig config) throws javax.portlet.PortletException
init
in interface javax.portlet.Portlet
init
in class org.apache.portals.bridges.velocity.GenericVelocityPortlet
javax.portlet.PortletException
public void processAction(javax.portlet.ActionRequest request, javax.portlet.ActionResponse actionResponse) throws javax.portlet.PortletException, IOException
processAction
in interface javax.portlet.Portlet
processAction
in class org.apache.portals.bridges.velocity.GenericVelocityPortlet
javax.portlet.PortletException
IOException
public void doView(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response) throws javax.portlet.PortletException, IOException
doView
in class org.apache.portals.bridges.velocity.GenericVelocityPortlet
javax.portlet.PortletException
IOException
public void doEdit(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response) throws javax.portlet.PortletException, IOException
doEdit
in class org.apache.portals.bridges.velocity.GenericVelocityPortlet
javax.portlet.PortletException
IOException
private Subject getSubject()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |