I'm setting up a jboss server for testing some java code that talks to http servers. That's pretty easy.

However one of the things I'm testing is interfacing with classic "old-school" HTTP-Auth protected pages, and for the life of me I can't figure out how to turn that on in jboss (and my google-fu seems to have let me down.)

So, how do I add a basic username and password to a single html (or jsp) file in jboss using http Basic Access Authentication?

link|improve this question

71% accept rate
Could you clarify whether you want JBoss to require authn from a client or you want to use authn when connecting from JBoss to some other HTTP service? – micah Mar 10 '10 at 14:59
When connecting from a client (in this case, a piece of Java code.) – Electrons_Ahoy Mar 11 '10 at 0:02
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.