This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
The moose likes Servlets and the fly likes authentication & authorization in JavaEE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "authentication & authorization in JavaEE" Watch "authentication & authorization in JavaEE" New topic
Author

authentication & authorization in JavaEE

azhar bharat
Ranch Hand

Joined: Jul 17, 2006
Posts: 87
which is the best approach to implement authentication & authorization in JavaEE application?
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
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

Joined: Jul 17, 2006
Posts: 87
can you give some links?
what are the benifits of using JAAS.
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
The SecurityFaq has a number of links regarding both web app security and JAAS.
Rahul Bhattacharjee
Ranch Hand

Joined: Nov 29, 2005
Posts: 2308
Originally posted by azhar bharat:
which is the best approach to implement authentication & authorization in JavaEE application?


Might help


Rahul Bhattacharjee
LinkedIn - Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: authentication & authorization in JavaEE
 
jQuery in Action, 3rd edition