>Now why would you want to do that ? I want to connect applications: one is running on Tomcat (Java/Struts) with another (php).
I have an application running on Tomcat that has a link to other application which is on another server. Application on another server is protected with: http://en.wikipedia.org/wiki/Basic_access_authentication http://en.wikipedia.org/wiki/Basic_access_authentication I want to pass credentials after link is clicked, so I don't need to fill the username and password informations. I see that I might need to add row: "Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==" in the request header. Is this possible to do? How? Regards awarnier wrote: > > Tokajac wrote: >> Hello! >> >> >> I'm developing a Tomcat, Struts application. >> >> I want to send credentials to the Authentication Dialog that's shown by >> application which is running on another server. >> With this idea, I'd connect 2 application: the Tomcat application should >> have a redirection link to the other application. >> >> If I can modify the request header, I will add row "Authorization: Basic >> QWxhZGRpbjpvcGVuIHNlc2FtZQ==" >> http://en.wikipedia.org/wiki/Basic_access_authentication >> http://en.wikipedia.org/wiki/Basic_access_authentication >> http://www.ietf.org/rfc/rfc2616.txt http://www.ietf.org/rfc/rfc2616.txt >> >> >> How can I implement this? >> > Now let us get this straight. You would like your Tomcat server to > provide access to its own clients, without authentication, to a back-end > service which requires authentication. Now why would you want to do that > ? > And if that is not what you want to do, what do you want to do ? > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > > -- View this message in context: http://www.nabble.com/Basic-authentication-without-a-secure-connection-tp23347310p23355186.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org