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 Security and the fly likes JAAS: No security context set 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 » Engineering » Security
Bookmark "JAAS: No security context set" Watch "JAAS: No security context set" New topic
Author

JAAS: No security context set

Tiago Fernandez
Ranch Hand

Joined: May 16, 2003
Posts: 167
Hey,

I'm trying to use JAAS with JBoss 3.2, but the security context is not being set correctly. Let me tell you my steps:

login-config.xml:


jboss.xml:


ejb-jar.xml:


When I try to handle EJBContext, it throws java.lang.IllegalStateException: No security context set. I guess something is missing or could be wrong. Anybody can advice me?

Thank you!
[ September 29, 2004: Message edited by: Tiago Fernandez ]

Tiago Fernandez
http://www.tiago182.spyw.com/
 
Don't get me started about those stupid light bulbs.
 
subject: JAAS: No security context set
 
Similar Threads
JAAS With JBOSS: My How-To Tutorial
Example Code for JAAS with JBoss? Got it to work by "fudging." How do Right?
Want to use different data source than my security principal
Error connecting to Oracle database during Jboss startup
error on jboss start up