jQuery in Action, 3rd edition
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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "JAAS Application to secure EJB" Watch "JAAS Application to secure EJB" New topic

JAAS Application to secure EJB


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.

I agree. Here's the link: http://aspose.com/file-tools
subject: JAAS Application to secure EJB
It's not a secret anymore!