• 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 ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

[Help]EJB Security with JAAS

 
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.
 
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!
 
Wait for it ... wait .... wait .... NOW! Pafiffle! A perfect tiny ad!
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic