org.jasig.cas.web.flow
Class WarnAction

java.lang.Object
  extended byorg.springframework.webflow.action.AbstractAction
      extended byorg.jasig.cas.web.flow.AbstractCasAction
          extended byorg.jasig.cas.web.flow.WarnAction
All Implemented Interfaces:
org.springframework.webflow.Action, org.springframework.beans.factory.InitializingBean

public final class WarnAction
extends AbstractCasAction

Action for determining whether the warning page needs to be displayed or not. If it does not need to be displayed we want to forward to the proper service. If there is a privacy request for a warning, the "warn" event is returned, otherwise the "redirect" event is returned.

Since:
3.0
Version:
$Revision$ $Date$
Author:
Scott Battaglia

Field Summary
 
Fields inherited from class org.springframework.webflow.action.AbstractAction
ERROR_EVENT_ID, EXCEPTION_PARAMETER, logger, NO_EVENT_ID, RESULT_PARAMETER, SUCCESS_EVENT_ID, YES_EVENT_ID
 
Constructor Summary
WarnAction()
           
 
Method Summary
protected  ModelAndEvent doExecuteInternal(org.springframework.webflow.RequestContext context, java.util.Map attributes)
          Abstract method that gets executed by doExecute as part of the workflow.
 
Methods inherited from class org.jasig.cas.web.flow.AbstractCasAction
doExecute
 
Methods inherited from class org.springframework.webflow.action.AbstractAction
afterPropertiesSet, doPostExecute, doPreExecute, error, error, execute, initAction, no, 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

WarnAction

public WarnAction()
Method Detail

doExecuteInternal

protected ModelAndEvent doExecuteInternal(org.springframework.webflow.RequestContext context,
                                          java.util.Map attributes)
                                   throws java.lang.Exception
Description copied from class: AbstractCasAction
Abstract method that gets executed by doExecute as part of the workflow.

Specified by:
doExecuteInternal in class AbstractCasAction
Parameters:
context - the request context for the flow
attributes - the map of FlowScope-ed attributes
Returns:
the ModelAndEvent represending the request.
Throws:
java.lang.Exception - if there is an error.


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