File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JAAS: No security context set
 
Similar Threads
error on jboss start up
Example Code for JAAS with JBoss? Got it to work by "fudging." How do Right?
JAAS With JBOSS: My How-To Tutorial
Error connecting to Oracle database during Jboss startup
Want to use different data source than my security principal