aspose file tools*
The moose likes Security and the fly likes WebService getting Digital Certificates Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "WebService getting Digital Certificates" Watch "WebService getting Digital Certificates" New topic
Author

WebService getting Digital Certificates

Mike Moreira
Greenhorn

Joined: Apr 11, 2003
Posts: 4
Any one knows if there is anyway to get de Certificade in one WebService.

Just like when we can do in a Servlet, but to get this Certificade in a servlet, I�m using the Session or the Request object.

Boths that I cannot get in a WebService!

tks
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42275
    
  64
Not sure if this answers your question, but if you use Axis, you can get at the underlying HttpServletRequest like this.

Or are you talking about using certificates in the context of WS-Security? Then you'd be looking at using a package like WSS4J, and the outline of what to do would be something like this.
[ March 21, 2006: Message edited by: Ulf Dittmer ]

Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: WebService getting Digital Certificates