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

authentication & authorization in JavaEE

 
azhar bharat
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
which is the best approach to implement authentication & authorization in JavaEE application?
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A good start would be the HTTP-based authentication that's part of the servlet specification. It also supports a role concept that may be sufficient for authorization.

If you want something beefier, has a look at the JAAS API.
 
azhar bharat
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can you give some links?
what are the benifits of using JAAS.
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The SecurityFaq has a number of links regarding both web app security and JAAS.
 
Rahul Bhattacharjee
Ranch Hand
Posts: 2308
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by azhar bharat:
which is the best approach to implement authentication & authorization in JavaEE application?


Might help
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic