This content has been marked as final.
Show 3 replies
-
1. Re: Setting BASIC authentication for web console
peterj Jun 21, 2007 5:17 PM (in response to bhatman)I assume that you changed < context-root > in boss-web.xml to be "p5admin".
I think that in the web.xml the < url-pattern > should be simply "/*". The context-root is assumed. -
2. Re: Setting BASIC authentication for web console
bhatman Jun 26, 2007 9:37 AM (in response to bhatman)Thank you so much for the response. However there is no <context-root/> element in jboss-web.xml
And we want < url-pattern > to be "/p5admin/*" instead of "/*" url pattern.
Note that I the war file is inside ear file. and the application.xml has context root,<application> <display-name>Enterprise Server</display-name> <description>Enterprise Server</description> <module> <web> <web-uri>p5web.war</web-uri> <context-root>p5admin</context-root> </web> </module> <module> <ejb>p5ejb.jar</ejb> </module> </application>
-
3. Re: Setting BASIC authentication for web console
bhatman Jun 28, 2007 2:56 PM (in response to bhatman)Hi Peter,
Your solution did work, the authentication was failing as I had wrongly configured login-config.xml , after enabling log4j for security I was able to fing the root cause.
Thank you all!