[cas-dev] Service URL in CAS 3.1

Rodolfo Dias dias.casserver at gmail.com
Thu Nov 8 02:20:41 EST 2007


Hi,

I was using CAS 3.0.5 with OPENLASZLO Login Screen where I put the service
url into the request. But, when changing to CAS Version 3.1 I have problems.
The service url comes from the FlowScope and i don´t know how to put this
information there. How do I set information in the FlowScope?

CAS 3.0.5
 AuthenticationViaFormaAction.java

 ..
 final String service = WebUtils.getRequestParameterAsString(request,
            WebConstants.SERVICE);
 ..

 Webutils.java

 //Recover Information the request
   public static String getRequestParameterAsString(
         final HttpServletRequest request, final String parameter) {
         return request.getParameter(parameter);
     }


 CAS 3.1
 AuthenticationViaFormAction.java
 ..

    service = WebUtils.getService(context);

 ..

 Webutils.java
//Recover information the FlowScope
  public static final WebApplicationService getService(RequestContext
context)
     {
         return
(WebApplicationService)context.getFlowScope().get("service");
     }


Rodolfo Dias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas-dev/attachments/20071108/aed47d34/attachment.html 


More information about the cas-dev mailing list