Adding a customized header to POST
Robert, Brice
Brice.Robert at alliancebernstein.com
Mon Jan 28 12:09:55 EST 2008
Hi,
I use a vendor product that requires the User to be added to the Http
Request Header.
Vendor has had successful implementation using Siteminder but no record
using CAS.
I would like to be able to add a custom header field to the POST going
to CAS server which sends back the redirect response to the browser
without getting rid of my added header; the browser then reroutes its
request to the vendor's app along with the added header and life goes
on.
Which Spring bean do I have to implement to add my header to the POST
sent to CAS?
POST
/cas-web/login?service=http://amarld02.acml.com:20000/cfsiq-web&renew=tr
ue HTTP/1.1
Accept: */*
Referer:
http://amaxpdd-6efc3.ac.lp.acml.com:7777/cas-web/login?service=http://am
arld02.acml.com:20000/cfsiq-web&renew=true
Accept-Language: en-us,fr-ca;q=0.5
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET
CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
Host: amaxpdd-6efc3.ac.lp.acml.com:7777
Content-Length: 138
Connection: Keep-Alive
Cache-Control: no-cache
USER: user1 <<<<< CUSTOM HEADER FIELD >>>>>>
Cookie: PortalLoginCookie=20026743_user1_NY-AMA_My_Name;
JSESSIONID=429BABC53D3C22E5771B29246A4690D3
username=user1&password=asd<=_c1945636C-810E-9892-DFC6-4D7EDFC9C760_kE
777EEEE-CFFF-23D5-B07F-098695ACDE9C&_eventId=submit&submit=LOGIN
-----------------------------------------
The information contained in this transmission may be privileged and
confidential and is intended only for the use of the person(s) named
above. If you are not the intended recipient, or an employee or agent responsible
for delivering this message to the intended recipient, any review, dissemination,
distribution or duplication of this communication is strictly prohibited. If you are
not the intended recipient, please contact the sender immediately by reply e-mail
and destroy all copies of the original message. Please note that we do not accept
account orders and/or instructions by e-mail, and therefore will not be responsible
for carrying out such orders and/or instructions. If you, as the intended recipient
of this message, the purpose of which is to inform and update our clients, prospects
and consultants of developments relating to our services and products, would not
like to receive further e-mail correspondence from the sender, please "reply" to the
sender indicating your wishes. In the U.S.: 1345 Avenue of the Americas, New York,
NY 10105.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20080128/32d0e211/attachment.html
More information about the cas
mailing list