@Service(value="proxyCASAuthenticationPreInterceptor") public class ProxyCASAuthenticationPreInterceptor extends AuthenticationPreInterceptor
AUTHENTICATION_TIMEOUT_KEY, AUTHENTICATION_TIMESTAMP_KEY, log| Constructor and Description |
|---|
ProxyCASAuthenticationPreInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
prepareAuthentication(HttpContentRequestImpl contentRequest,
javax.portlet.PortletRequest portletRequest)
Perform authentication or prepare the content request to include
authentication parameters.
|
void |
setServiceUrl(String serviceUrl)
Set the base URL of the CAS server
|
void |
setTicketValidator(org.jasig.cas.client.validation.TicketValidator ticketValidator)
Set the ticket validator
|
boolean |
validate(HttpContentRequestImpl proxyRequest,
javax.portlet.PortletRequest portletRequest)
Confirm that the proxyRequest has all of the information required to execute.
|
intercept, isAlreadyAuthenticatedpublic ProxyCASAuthenticationPreInterceptor()
@Value(value="${portal.server.base.url}/${portlet.context}")
public void setServiceUrl(String serviceUrl)
serviceUrl - @Autowired(required=true) public void setTicketValidator(org.jasig.cas.client.validation.TicketValidator ticketValidator)
ticketValidator - protected void prepareAuthentication(HttpContentRequestImpl contentRequest, javax.portlet.PortletRequest portletRequest)
AuthenticationPreInterceptorprepareAuthentication in class AuthenticationPreInterceptorpublic boolean validate(HttpContentRequestImpl proxyRequest, javax.portlet.PortletRequest portletRequest)
IPreInterceptorCopyright © 2014 Jasig. All Rights Reserved.