Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Enable Authentication for Servlets

 
KRK Gowda
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
i want to Enable authentication in Servlets. so i have added the following code in DD
<login-config>
<auth-method>BASIC</auth-method>
</login-config>

but still i am not asked for username and password.
please guide me through

Thanks in advance
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You'll need to set some security constraints on top of that. Which means that you need to define which resources are restricted.

I recommend you to read the sample chapter of Charles Lyons' book, about Security : http://www.garnerpress.com/catalogue/BK0316
[ October 06, 2006: Message edited by: Satou kurinosuke ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic