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 WSSubject returning null - Urgent! 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 "WSSubject returning null - Urgent!" Watch "WSSubject returning null - Urgent!" New topic
Author

WSSubject returning null - Urgent!

Mohamed Riaz
Greenhorn

Joined: Dec 26, 2011
Posts: 2
Hi All,

I have this code which needs to be migrated from a different Webservice codebase to mine. I did it and when i hit my webservice now, I have a callbackhandler (which i migrated from the other WS) which has the following code, which always returns WSSubject.getCallerSubject() as null. I am totally new to the callbackhandler concept.


The second line in the try block is the culprit. It throws nullpointerexception since Subject is null. Please help me out.

[VK: Added code tags]
Marcos Maia
Ranch Hand

Joined: Jan 06, 2001
Posts: 977
Hi, having same problem. Did you manage to fix this?

Thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: WSSubject returning null - Urgent!
 
Similar Threads
JBoss 5.1.0 GA. FORM based authentication
Using cookies in JAAS to extend a Single Sign On
The value for the useBean class attribute "..." is invalid.
EJB Security: Not getting correct name in Principal
reload properties from url