File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

JAAS: No security context set

Tiago Fernandez
Ranch Hand

Joined: May 16, 2003
Posts: 167

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:




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
I agree. Here's the link:
subject: JAAS: No security context set
It's not a secret anymore!