The service is stored in the FlowScope and not re-read.  You really
shouldn't be changing it.   If you wanted to do though you'd have to do it
on the server side as we don't re-read the request parameter (its only read
on the GET).

-Scott

On Tue, Apr 15, 2008 at 3:37 AM, Shyam Kumar S <[EMAIL PROTECTED]>
wrote:

>  Hi all,
>
>
>
> I modified the login JSP by including a JavaScript method to be called
> before submit of the form, where the action URL in the HTML form is
> modified. To the last parameter 'service' I appended the parameter (after
> encoding it), assuming that it would be available to me in the action, but
> it is not working so. The scenario is as follows:
>
>
>
>    1. Say the page I request in the client application is '
>    homePage.do?parameter1=value1'.
>    2. So, the service parameter would be encoded as '
>    homePage.do%3Fparameter1%3Dvalue1'.
>    3. To include the additional parameter chosen by the user on the
>    JSP, I used JavaScript to append '%26parameter2%3Dvalue2' during the
>    onsubmit event of the form.
>    4. So the service parameter should become '
>    homePage.do%3Fparameter1%3Dvalue1%26parameter2%3Dvalue2', when I
>    submit.
>
>
>
> But, this parameter is not appearing when the actual redirection back to
> the requested page happens.
>
>
>
> Where am I going wrong? Do I need to do any customization on the CAS
> server code?
>
>
>
> Regards,
>
> Shyam
>
>
>  ------------------------------
>
> *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Shyam Kumar S
> *Sent:* Wednesday, April 02, 2008 5:37 PM
> *To:* Yale CAS mailing list
> *Subject:* Customizing CAS login page
>
>
>
> Hi,
>
>
>
> I have created a custom JSP to take care of accepting the
> username/password input from the user and configured it inside the CAS
> server. In addition to these 2 inputs, we also take other parameters that
> are needed for the application, from the user.
>
>
>
> Is there anyway (even if it means customization of CAS code) to make these
> parameters available to application's landing page?
>
>
>
> If so, please let me know.
>
>
>
> Regards,
>
> Shyam
>
>
>
> ********** DISCLAIMER *******
>
> The information contained in this email is confidential and may contain
> proprietary information. It is meant solely for the intended recipient.
> Access to this email by anyone else is unauthorised. If you are not the
> intended recipient, any disclosure, copying, distribution or any action
> taken or omitted in reliance on this, is prohibited and may be unlawful. No
> liability or responsibility is accepted if information or data is, for
> whatever reason, corrupted or does not reach its intended recipient. Dun &
> Bradstreet PSAPL reserves the right to take any action in accordance with
> its email policy. If you have received this communication in error, please
> delete this mail & notify us immediately at [EMAIL PROTECTED]
>
>
>
> _______________________________________________
> Yale CAS mailing list
> [email protected]
> http://tp.its.yale.edu/mailman/listinfo/cas
>
>


-- 
-Scott Battaglia
PGP Public Key Id: 0x383733AA
LinkedIn: http://www.linkedin.com/in/scottbattaglia
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to