As far as I know, the FULL_HEADER attribute was never correctly implemented, and does not work. This is only on Windows/IIS with all versions of 5.5. Im not sure about other platforms and/or web server applications. I havent fully experimented.
You may have to receive the incoming user with a PHP script, write the josso header element into a text file or database field, key it, and then forward the user into your Witango application along with the key. Robert _____ From: Francesca Arecco - Genova [mailto:[email protected]] Sent: Monday, November 23, 2009 5:43 AM To: [email protected] Subject: Re: Witango-Talk: Help Witango Josso (accessing HTTPRequest) Hi Scott, thanks for your answer. I'm using Witango Application Server 5.5.009 Liquorice (Win32) [Professional Edition] and I'm developing with Witango Studio 5.5b2 on Windows OS. I tried the @HTTPATTRIBUTE tag with NAME="FULL_HEADER" but that doesn't return anything. @HTTPATTRIBUTE tag with known and documented names (i.e. CLIENT_ADDRESS, USER_AGENT as an example) it works. I found an old post in the list: http://developer.witango.com/forum/searchforum.taf?_function=detail&id=12670 4&vnav=developer John McGowan says he has the same problem with @HTTPATTRIBUTE tag. Thanks in advance for your help Francesca ----- Messaggio originale ----- Da: "Scott Cadillac" <[email protected]> A: [email protected] Inviato: Giovedì, 19 novembre 2009 14:14:38 Oggetto: RE: Witango-Talk: Help Witango Josso (accessing HTTPRequest) Hi Francesca, You may have some challanges ahead of you, depending on what version of Witango you have. The Request.ServerVariables() object in ASP/.NET has to do with retreiving HTTP header properties of the user's request to the webserver. In your case, your code is looking for a custom HTTP header property. Unfortunately some versions of Witango have very limited access to the HTTP request header. If you have Witango 5.5 or later, then I think @HTTPATTRIBUTE is what you'll want. But you may not be able to access HTTP_JOSSO_USER directly, so use the NAME="FULL_HEADER" attribute on your metatag (which returns the whole header) and then parse/search for the info you need. I hope that helps. Scott, On Thursday, November 19, 2009 6:15am, "Francesca Arecco - Genova" <[email protected]> said: Hi, I'm trying to use Josso with Witango but I don't know how to get HttpRequest in Witango. Josso is a Single Sign On Authentication Server. It's able to give back user information inside the HttpRequest. The way to get user info from HttpRequest with a JSP is: <%=request.getRemoteUser()%> An example with ASP is: <html> <body> <table width="100%" cellpadding="0" cellspacing="0" border="0" > <tr> <td> <b>Hello, <%=Request.ServerVariables("HTTP_JOSSO_USER") %>!</b> </td> </tr> </table> </body> </html> How can I achieve the same task with Witango? Thanks in advance for your response Francesca -- Francesca Arecco Engineering Tributi SpA Direzione Prodotti e Servizi Area Sviluppo Software Via Renata Bianchi 137 - 16152 Genova tel: +39 (010) 648671 - fax: +39 (010) 6143119 e-mail: [email protected] _____________________________________ Gruppo Engineering - www.eng.it System Integrator, Outsourcing e Consulenza ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf [image/gif:...] -- Francesca Arecco Engineering Tributi SpA Direzione Prodotti e Servizi Area Sviluppo Software Via Renata Bianchi 137 - 16152 Genova tel: +39 (010) 648671 - fax: +39 (010) 6143119 e-mail: [email protected] _____________________________________ Gruppo Engineering - www.eng.it System Integrator, Outsourcing e Consulenza ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
<<image001.gif>>
