tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Strauß <>
Subject AW: Username from basic Auth and Contextinformation Question
Date Thu, 08 Dec 2005 13:32:09 GMT

dont know for apache but for context:

You can place the context as "context.xml" inside the META-INF directory.

The application path will be /<your warfile name> the information from the context path
attribute is ignored.

Mit freundlichen Grüßen 
Thomas Strauß

-----Ursprüngliche Nachricht-----
Von: Robert Einsle [] 
Gesendet: Donnerstag, 8. Dezember 2005 13:18
An: Tomcat Users List
Betreff: Username from basic Auth and Contextinformation Question

Hy List,

i have two questions koncerning Tomcat.

I will do the Authentifikation for my Webbapp on the Apache (2.0) with 
Basic Auth. Is it possible in my Tomcat Application to access the 
Username (out of the Session?) where the User logged on?

The second is, can i deliver the context-information for my webbapp 
inside my war-package? Normaly i configure Contextinformation 
(Datasources, Logger...) inside the Context-Tag in server.xml. Is it 
possible to pack this Information inside the war?

Thanks for Help.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message