edu.yale.its.tp.portlets.calendar.service
Class CasProxyInitializationService

java.lang.Object
  extended by edu.yale.its.tp.portlets.calendar.service.CasProxyInitializationService
All Implemented Interfaces:
IInitializationService

public class CasProxyInitializationService
extends java.lang.Object
implements IInitializationService

CasProxyInitializationService initializes authentication resources when a user creates a new session with the portlet. It's important that this initialization is performed when the portlet session is first created, rather than waiting until the first CAS-protected calendar is requested, since the proxy ticket might otherwise expire before it's validated.

Author:
Jen Bourey

Constructor Summary
CasProxyInitializationService()
           
 
Method Summary
 void initialize(javax.portlet.PortletRequest request)
          Perform some action.
 void setProxyTicketService(ICASProxyTicketService proxyTicketService)
          Set the proxy ticket service to use for retrieving CAS receipts
 void setSessionLength(int sessionLength)
          Set the length of logged-in sessions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CasProxyInitializationService

public CasProxyInitializationService()
Method Detail

setSessionLength

public void setSessionLength(int sessionLength)
Set the length of logged-in sessions

Parameters:
sessionLength -

setProxyTicketService

public void setProxyTicketService(ICASProxyTicketService proxyTicketService)
Set the proxy ticket service to use for retrieving CAS receipts

Parameters:
proxyTicketService -

initialize

public void initialize(javax.portlet.PortletRequest request)
Description copied from interface: IInitializationService
Perform some action.

Specified by:
initialize in interface IInitializationService
Parameters:
request - user's portlet request


Copyright © 2009 Jasig. All Rights Reserved.