This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes JAAS Application to secure EJB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "JAAS Application to secure EJB" Watch "JAAS Application to secure EJB" New topic
Author

JAAS Application to secure EJB

SnehalPatil
Greenhorn

Joined: Oct 21, 2008
Posts: 1
Can we propagate Security Subject from web Container to Ejb container?If yes which are the necessary policy,permission or any addition setting required in Glass Fish. Because I have developed one "J A A S application" in net beans, server is Glass Fish.But still I can't able to get subject at bean level where in Servlet I am getting subject through logincontext and through same servlet I am calling bean method.where I want to take the principal using Session Context Object.But it's coming Anonymous.what is the problem here.
Luciano A. Pozzo
Ranch Hand

Joined: Jun 20, 2005
Posts: 112
Hi SnehalSnehal Patil,

i beleive that you should look for Single Sign-On.

https://glassfish.dev.java.net/javaee5/security/faq.html#sso
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JAAS Application to secure EJB
 
Similar Threads
Two doubt about "in practice" EJB
Hessian in Jboss
Make SERVLET talk to EJB
difference b/w EJB ,servlets
Make SERVLET talk to EJB