org.jasig.cas.web.support
Class WebUtils

java.lang.Object
  extended by org.jasig.cas.web.support.WebUtils

public final class WebUtils
extends Object

Common utilities for the web tier.

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

Field Summary
static String CAS_ACCESS_DENIED_REASON
          Request attribute that contains message key describing details of authorization failure.
 
Constructor Summary
WebUtils()
           
 
Method Summary
static javax.servlet.http.HttpServletRequest getHttpServletRequest(org.springframework.webflow.execution.RequestContext context)
           
static javax.servlet.http.HttpServletResponse getHttpServletResponse(org.springframework.webflow.execution.RequestContext context)
           
static String getLoginTicketFromFlowScope(org.springframework.webflow.execution.RequestContext context)
           
static String getLoginTicketFromRequest(org.springframework.webflow.execution.RequestContext context)
           
static WebApplicationService getService(List<ArgumentExtractor> argumentExtractors, javax.servlet.http.HttpServletRequest request)
           
static WebApplicationService getService(List<ArgumentExtractor> argumentExtractors, org.springframework.webflow.execution.RequestContext context)
           
static WebApplicationService getService(org.springframework.webflow.execution.RequestContext context)
           
static String getServiceTicketFromRequestScope(org.springframework.webflow.execution.RequestContext context)
           
static String getTicketGrantingTicketId(org.springframework.webflow.execution.RequestContext context)
           
static void putLoginTicket(org.springframework.webflow.execution.RequestContext context, String ticket)
           
static void putServiceTicketInRequestScope(org.springframework.webflow.execution.RequestContext context, String ticketValue)
           
static void putTicketGrantingTicketInRequestScope(org.springframework.webflow.execution.RequestContext context, String ticketValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CAS_ACCESS_DENIED_REASON

public static final String CAS_ACCESS_DENIED_REASON
Request attribute that contains message key describing details of authorization failure.

See Also:
Constant Field Values
Constructor Detail

WebUtils

public WebUtils()
Method Detail

getHttpServletRequest

public static javax.servlet.http.HttpServletRequest getHttpServletRequest(org.springframework.webflow.execution.RequestContext context)

getHttpServletResponse

public static javax.servlet.http.HttpServletResponse getHttpServletResponse(org.springframework.webflow.execution.RequestContext context)

getService

public static WebApplicationService getService(List<ArgumentExtractor> argumentExtractors,
                                               javax.servlet.http.HttpServletRequest request)

getService

public static WebApplicationService getService(List<ArgumentExtractor> argumentExtractors,
                                               org.springframework.webflow.execution.RequestContext context)

getService

public static WebApplicationService getService(org.springframework.webflow.execution.RequestContext context)

putTicketGrantingTicketInRequestScope

public static void putTicketGrantingTicketInRequestScope(org.springframework.webflow.execution.RequestContext context,
                                                         String ticketValue)

getTicketGrantingTicketId

public static String getTicketGrantingTicketId(org.springframework.webflow.execution.RequestContext context)

putServiceTicketInRequestScope

public static void putServiceTicketInRequestScope(org.springframework.webflow.execution.RequestContext context,
                                                  String ticketValue)

getServiceTicketFromRequestScope

public static String getServiceTicketFromRequestScope(org.springframework.webflow.execution.RequestContext context)

putLoginTicket

public static void putLoginTicket(org.springframework.webflow.execution.RequestContext context,
                                  String ticket)

getLoginTicketFromFlowScope

public static String getLoginTicketFromFlowScope(org.springframework.webflow.execution.RequestContext context)

getLoginTicketFromRequest

public static String getLoginTicketFromRequest(org.springframework.webflow.execution.RequestContext context)


Copyright © 2004-2013 Jasig. All Rights Reserved.