org.jasig.portlet.calendar.service
Class CasProxyInitializationService

java.lang.Object
  extended by org.jasig.portlet.calendar.service.CasProxyInitializationService
All Implemented Interfaces:
IInitializationService

public class CasProxyInitializationService
extends 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

Field Summary
protected  org.apache.commons.logging.Log log
           
 
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
 

Field Detail

log

protected final org.apache.commons.logging.Log log
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 © 2012 Jasig. All Rights Reserved.