Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

using SSL by System.setproperty optionally

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 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 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,

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic