aspose 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


Win a copy of Spring in Action this week in the Spring 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/
 
jQuery in Action, 2nd edition
 
subject: JAAS: No security context set