You'll want to create a Custom ViewSelector (see the one we use as an
example) that can set the required header for you.  Then, configure that as
a replacement to the one that already is configured.

-Scott

On Jan 28, 2008 12:09 PM, Robert, Brice <[EMAIL PROTECTED]>
wrote:

>  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=true
> HTTP/1.1 <http://amarld02.acml.com:20000/cfsiq-web&renew=trueHTTP/1.1>
>
> Accept: */*
>
> Referer:
> http://amaxpdd-6efc3.ac.lp.acml.com:7777/cas-web/login?service=http://amarld02.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&lt=_c1945636C-810E-9892-DFC6-4D7EDFC9C760_kE777EEEE-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.
>
> _______________________________________________
> Yale CAS mailing list
> [email protected]
> http://tp.its.yale.edu/mailman/listinfo/cas
>
>


-- 
-Scott Battaglia

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