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

Reply via email to