File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring 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.
jQuery in Action, 3rd edition
subject: Authentication exception, principal=null
It's not a secret anymore!