How do I turn on basic HTTP-auth for a page in jboss?

Posted by Electrons_Ahoy on Server Fault See other posts from Server Fault or by Electrons_Ahoy
Published on 2010-03-08T19:36:03Z Indexed on 2010/03/08 19:38 UTC
Read the original article Hit count: 223

Filed under:
|

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?

© Server Fault or respective owner

Related posts about http-authentication

Related posts about jboss