This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Authentication exception, principal=null" Watch "Authentication exception, principal=null" New topic
Author

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Authentication exception, principal=null
 
Similar Threads
ejb webservice - authentication compulsory?
Security principal propagation accross ejb3 modules
Access spring user object
Authentication Exception
Problem trying to bypass security setting