• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger

[Help]EJB Security with JAAS

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,
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


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 :




For a working example and even more references.
Have fun!
Wait for it ... wait .... wait .... NOW! Pafiffle! A perfect tiny ad!
Devious Experiments for a Truly Passive Greenhouse!
    Bookmark Topic Watch Topic
  • New Topic