org.jasig.cas.web.flow
Class InitialFlowSetupAction

java.lang.Object
  extended by org.springframework.webflow.action.AbstractAction
      extended by org.jasig.cas.web.flow.InitialFlowSetupAction
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean, org.springframework.webflow.execution.Action

public final class InitialFlowSetupAction
extends org.springframework.webflow.action.AbstractAction

Class to automatically set the paths for the CookieGenerators.

Note: This is technically not threadsafe, but because its overriding with a constant value it doesn't matter.

Note: As of CAS 3.1, this is a required class that retrieves and exposes the values in the two cookies for subclasses to use.

Since:
3.1
Version:
$Revision: 47522 $ $Date: 2009-12-14 23:33:36 -0500 (Mon, 14 Dec 2009) $
Author:
Scott Battaglia

Field Summary
 
Fields inherited from class org.springframework.webflow.action.AbstractAction
logger
 
Constructor Summary
InitialFlowSetupAction()
           
 
Method Summary
protected  org.springframework.webflow.execution.Event doExecute(org.springframework.webflow.execution.RequestContext context)
           
 void setArgumentExtractors(java.util.List<ArgumentExtractor> argumentExtractors)
           
 void setTicketGrantingTicketCookieGenerator(CookieRetrievingCookieGenerator ticketGrantingTicketCookieGenerator)
           
 void setWarnCookieGenerator(CookieRetrievingCookieGenerator warnCookieGenerator)
           
 
Methods inherited from class org.springframework.webflow.action.AbstractAction
afterPropertiesSet, doPostExecute, doPreExecute, error, error, execute, getActionNameForLogging, getEventFactorySupport, initAction, no, result, result, result, result, success, success, yes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InitialFlowSetupAction

public InitialFlowSetupAction()
Method Detail

doExecute

protected org.springframework.webflow.execution.Event doExecute(org.springframework.webflow.execution.RequestContext context)
                                                         throws java.lang.Exception
Specified by:
doExecute in class org.springframework.webflow.action.AbstractAction
Throws:
java.lang.Exception

setTicketGrantingTicketCookieGenerator

public void setTicketGrantingTicketCookieGenerator(CookieRetrievingCookieGenerator ticketGrantingTicketCookieGenerator)

setWarnCookieGenerator

public void setWarnCookieGenerator(CookieRetrievingCookieGenerator warnCookieGenerator)

setArgumentExtractors

public void setArgumentExtractors(java.util.List<ArgumentExtractor> argumentExtractors)


Copyright © 2004-2010 Java Architectures Special Interest Group. All Rights Reserved.