• 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
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

[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!
 
And when my army is complete, I will rule the world! But, for now, I'm going to be happy with this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!