• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to use JAAS?�?  RSS feed

 
Bashar Ayyash
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I'm building a web application using JSP and Sevlet, and I want to design a login page where users enter their name and pass. I heared that if I want to design that page I need to implement JAAS (Java Authentication and Authorization Service) please help me to do that and give me code, links, or articles that talk about design login pages.

thanx,

[ November 08, 2005: Message edited by: Bashar Ayyash ]
[ November 08, 2005: Message edited by: Bashar Ayyash ]
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use JAAS, but you don't have to. I'd say it's probably overkill for what you're trying to do. Servlet containers have a built-in system around login pages (called "form-based authentication") which quite possibly is sufficient for your purposes.
The Tomcat FAQ has a section on security that should get you going.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!