This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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

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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: JAAS Application to secure EJB
jQuery in Action, 3rd edition