Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

J2EE Security and JAAS

Viswadas Leher
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am new to JAAS. I would like to find out how to specify with in an Archive file (.war) to use the JAAS authentication.
The scenario is : I have a web application. I would like to use JAAS to provide security to this application. Also i would like to use the HTTP Basic Authentication (browser login windows) for user interaction.
1) How do I specify the webapplication to use JAAS ? my web.xml currently looks like this:
<description>Demo Security Constraint</description>

2) How do I make the Basic authentication work with JAAS CallBackHandlers?
thnaks in advance,
- Leher
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic