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) |
intercept, isAlreadyAuthenticatedpublic AbstractBasicAuthenticationPreInterceptor()
@Autowired(required=true) public void setHttpClientService(IHttpClientService httpClientService)
protected 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 © 2013 Jasig. All Rights Reserved.