public abstract class AuthenticationPreInterceptor extends Object implements IPreInterceptor
| Modifier and Type | Field and Description |
|---|---|
static String |
AUTHENTICATION_TIMEOUT_KEY |
static String |
AUTHENTICATION_TIMESTAMP_KEY |
protected org.slf4j.Logger |
log |
| Constructor and Description |
|---|
AuthenticationPreInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
intercept(HttpContentRequestImpl proxyRequest,
javax.portlet.PortletRequest portletRequest)
Intercept a content request before it is executed.
|
protected boolean |
isAlreadyAuthenticated(javax.portlet.PortletRequest request)
Use the configured timeout to determine if the user is already
authenticated to the remote site.
|
protected abstract void |
prepareAuthentication(HttpContentRequestImpl contentRequest,
javax.portlet.PortletRequest portletRequest)
Perform authentication or prepare the content request to include
authentication parameters.
|
protected final org.slf4j.Logger log
public static final String AUTHENTICATION_TIMEOUT_KEY
public static final String AUTHENTICATION_TIMESTAMP_KEY
public void intercept(HttpContentRequestImpl proxyRequest, javax.portlet.PortletRequest portletRequest)
IPreInterceptorintercept in interface IPreInterceptorprotected boolean isAlreadyAuthenticated(javax.portlet.PortletRequest request)
request - protected abstract void prepareAuthentication(HttpContentRequestImpl contentRequest, javax.portlet.PortletRequest portletRequest)
contentRequest - portletRequest - Copyright © 2013 Jasig. All Rights Reserved.