[cas-dev] Service URL in CAS 3.1
Scott Battaglia
scott.battaglia at gmail.com
Thu Nov 8 11:38:23 EST 2007
The CAS web flow should be setting the service url. Why do you need to do
it manually?
On Nov 8, 2007 2:20 AM, Rodolfo Dias <dias.casserver at gmail.com> wrote:
> 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
>
>
>
> _______________________________________________
> cas-dev mailing list
> cas-dev at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas-dev
>
>
--
-Scott Battaglia
LinkedIn: http://www.linkedin.com/in/scottbattaglia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas-dev/attachments/20071108/680c7914/attachment.html
More information about the cas-dev
mailing list