edu.yale.its.tp.portlets.calendar.url
Class CasProxyUrlCreatorImpl

java.lang.Object
  extended by edu.yale.its.tp.portlets.calendar.url.CasProxyUrlCreatorImpl
All Implemented Interfaces:
IUrlCreator

public class CasProxyUrlCreatorImpl
extends java.lang.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

Constructor Summary
CasProxyUrlCreatorImpl()
           
 
Method Summary
 java.lang.String constructUrl(CalendarConfiguration calendarListing, net.fortuna.ical4j.model.Period period, javax.servlet.http.HttpServletRequest request)
           
 java.lang.String constructUrl(CalendarConfiguration calendarListing, net.fortuna.ical4j.model.Period period, 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
 

Constructor Detail

CasProxyUrlCreatorImpl

public CasProxyUrlCreatorImpl()
Method Detail

setProxyTicketService

public void setProxyTicketService(ICASProxyTicketService proxyTicketService)
Parameters:
proxyTicketService -

constructUrl

public java.lang.String constructUrl(CalendarConfiguration calendarListing,
                                     net.fortuna.ical4j.model.Period period,
                                     javax.servlet.http.HttpServletRequest request)
Specified by:
constructUrl in interface IUrlCreator
Returns:

constructUrl

public java.lang.String constructUrl(CalendarConfiguration calendarListing,
                                     net.fortuna.ical4j.model.Period period,
                                     javax.portlet.PortletRequest request)
Specified by:
constructUrl in interface IUrlCreator
Returns:


Copyright © 2009 Jasig. All Rights Reserved.