org.jasig.portlet.calendar.url
Class CasProxyUrlCreatorImpl

java.lang.Object
  extended by org.jasig.portlet.calendar.url.CasProxyUrlCreatorImpl
All Implemented Interfaces:
IUrlCreator

public class CasProxyUrlCreatorImpl
extends Object
implements IUrlCreator

This IUrlCreator implementation requires injection of a CAS CASProxyTicketServiceUserInfoImpl. It retrieves a url from the CalendarConfiguration, in a parameter named "url". The CAS CASProxyTicketServiceUserInfoImpl is used to retrieve a proxy ticket for the currently authenticated user, which is appended to the to the value of the "url" parameter as an attribute named "ticket".

Version:
$Header: CasUrlCreatorImpl.java Exp $
Author:
Nicholas Blair, nblair@doit.wisc.edu

Field Summary
protected  org.apache.commons.logging.Log log
           
 
Constructor Summary
CasProxyUrlCreatorImpl()
           
 
Method Summary
 String constructUrl(CalendarConfiguration calendarListing, org.joda.time.Interval interval, javax.portlet.PortletRequest request)
           
 void setProxyTicketService(ICASProxyTicketService proxyTicketService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected final org.apache.commons.logging.Log log
Constructor Detail

CasProxyUrlCreatorImpl

public CasProxyUrlCreatorImpl()
Method Detail

setProxyTicketService

public void setProxyTicketService(ICASProxyTicketService proxyTicketService)
Parameters:
proxyTicketService -

constructUrl

public String constructUrl(CalendarConfiguration calendarListing,
                           org.joda.time.Interval interval,
                           javax.portlet.PortletRequest request)
Specified by:
constructUrl in interface IUrlCreator
Returns:


Copyright © 2012 Jasig. All Rights Reserved.