This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Services and the fly likes Authentication exception, principal=null Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Authentication exception, principal=null" Watch "Authentication exception, principal=null" New topic

Authentication exception, principal=null

Sivakumar Nachimuthu
Ranch Hand

Joined: Aug 10, 2004
Posts: 52
Hi everybody,

I've just created session bean webservice. It works fine till I switch on the security domain for my whole application. Although I didn't specify any security constraint for this particular ejb (no "security role" or "permission" in descriptors), invoking webservice from client ends with exception:

java.lang.SecurityException: Authentication exception, principal=null

Anybody has an idea, how to disable this authentication? Thanks in advance for any advise/url.
It is sorta covered in the JavaRanch Style Guide.
subject: Authentication exception, principal=null
Similar Threads
ejb webservice - authentication compulsory?
Access spring user object
Authentication Exception
Security principal propagation accross ejb3 modules
Problem trying to bypass security setting