public abstract class AbstractBasicAuthenticationPreInterceptor extends AuthenticationPreInterceptor
AUTHENTICATION_TIMEOUT_KEY, AUTHENTICATION_TIMESTAMP_KEY, log| Constructor and Description |
|---|
AbstractBasicAuthenticationPreInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract org.apache.http.auth.Credentials |
getCredentials(javax.portlet.PortletRequest portletRequest)
Provide credentials for the current user for this target service.
|
protected void |
prepareAuthentication(HttpContentRequestImpl contentRequest,
javax.portlet.PortletRequest portletRequest)
Perform authentication or prepare the content request to include
authentication parameters.
|
void |
setHttpClientService(IHttpClientService httpClientService)
Setter for the field
httpClientService. |
boolean |
validate(HttpContentRequestImpl proxyRequest,
javax.portlet.PortletRequest portletRequest)
Confirm that the proxyRequest has all of the information required to execute.
|
intercept, isAlreadyAuthenticatedpublic AbstractBasicAuthenticationPreInterceptor()
@Autowired(required=true) public void setHttpClientService(IHttpClientService httpClientService)
Setter for the field httpClientService.
httpClientService - a IHttpClientService objectpublic boolean validate(HttpContentRequestImpl proxyRequest, javax.portlet.PortletRequest portletRequest)
proxyRequest - a HttpContentRequestImpl objectportletRequest - a PortletRequest objectprotected void prepareAuthentication(HttpContentRequestImpl contentRequest, javax.portlet.PortletRequest portletRequest)
prepareAuthentication in class AuthenticationPreInterceptorcontentRequest - a HttpContentRequestImpl objectportletRequest - a PortletRequest objectprotected abstract org.apache.http.auth.Credentials getCredentials(javax.portlet.PortletRequest portletRequest)
portletRequest - a PortletRequest objectCredentials objectCopyright © 2023 Apereo. All rights reserved.