aspose file tools
The moose likes Web Services and the fly likes WSSubject returning null - Urgent! Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply 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
EJB Security: Not getting correct name in Principal
reload properties from url
The value for the useBean class attribute "..." is invalid.
JBoss 5.1.0 GA. FORM based authentication
Using cookies in JAAS to extend a Single Sign On