public abstract class AuthenticationPreInterceptor extends Object implements IPreInterceptor
| Modifier and Type | Field and Description |
|---|---|
static String |
AUTHENTICATION_TIMEOUT_KEY
Constant
AUTHENTICATION_TIMEOUT_KEY="authenticationTimeout" |
static String |
AUTHENTICATION_TIMESTAMP_KEY
Constant
AUTHENTICATION_TIMESTAMP_KEY="authenticationTimestamp" |
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitvalidateprotected final org.slf4j.Logger log
public static final String AUTHENTICATION_TIMEOUT_KEY
AUTHENTICATION_TIMEOUT_KEY="authenticationTimeout"public static final String AUTHENTICATION_TIMESTAMP_KEY
AUTHENTICATION_TIMESTAMP_KEY="authenticationTimestamp"public void intercept(HttpContentRequestImpl proxyRequest, javax.portlet.PortletRequest portletRequest)
intercept in interface IPreInterceptorproxyRequest - a HttpContentRequestImpl objectportletRequest - a PortletRequest objectprotected boolean isAlreadyAuthenticated(javax.portlet.PortletRequest request)
request - a PortletRequest objectprotected abstract void prepareAuthentication(HttpContentRequestImpl contentRequest, javax.portlet.PortletRequest portletRequest)
contentRequest - a HttpContentRequestImpl objectportletRequest - a PortletRequest objectCopyright © 2022 Apereo. All rights reserved.