• Post Reply Bookmark Topic Watch Topic
  • New Topic

[Help]EJB Security with JAAS

 
Mohan Ganesan
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Everybody,
I have to give security for EJBs, for that I need to use JAAS. But I didn't get any simple sample from net.
security check by using roles such as admin,user etc. depends on this role, the EJBs has to access....

Please send me if u have some samples....

Thanks and Regards,
Mohan.
 
Arnold Reuser
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I started learning JAAS, months ago. I used the tutorial "getting started with jboss" You can get it from

http://www.jboss.org/docs/jbossj2ee.pdf

Read chapter 4, the duke bank example And Read chapter 9 for more security details. When you are really hungry. Also read chapter 8 of
JBoss Administration and Development, 3rd Ed (3.2.x Series)
Chapter 8 describes JAAS and the integration of JAAS with JBoss.

You could also look at http://java.sun.com/products/jaas/ for a full description of JAAS or look at :

http://java.sun.com/developer/technicalArticles/Security/jaasv2/index.html

or

http://www.javaworld.com/javaworld/jw-08-2001/jw-0831-jaas.html

For a working example and even more references.
Have fun!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!