• Post Reply Bookmark Topic Watch Topic
  • New Topic

using SSL by System.setproperty optionally  RSS feed

erwin reinhoud
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

I have a struts app in which i use an object to send soap messages (axis2) with or without ssl (input is an url). I thought i could make it optional by setting the javax.net.ssl properties or not. The point is to get an ssl recv error if a call is made to a web service that requires clientauthentication without a client cert.

However once the javax.net.ssl paremters are set i can not reset them for the http call it seems and thus a call without setting client cert etc gets a valid authentication. Does anyone know how to enable/disable this for each seprate call?

Thanks in advance.

Kind regards,

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!