• Post Reply Bookmark Topic Watch Topic
  • New Topic

WebService getting Digital Certificates

 
Mike Moreira
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!