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)
Add BASIC authentication credentials to the user's HttpClientService.
|
void |
setHttpClientService(IHttpClientService 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)
public boolean validate(HttpContentRequestImpl proxyRequest, javax.portlet.PortletRequest portletRequest)
IPreInterceptorprotected void prepareAuthentication(HttpContentRequestImpl contentRequest, javax.portlet.PortletRequest portletRequest)
prepareAuthentication in class AuthenticationPreInterceptorprotected abstract org.apache.http.auth.Credentials getCredentials(javax.portlet.PortletRequest portletRequest)
portletRequest - Copyright © 2022 Apereo. All rights reserved.