Iīve a problem with ssl, I need  my WS trust in any certificate,

For it, I did a TrustSocketFactory that trust in any certificate and
 I modify  HttpSernder class :

????????????
  if (protocol.equals("https")) {
          TrustSocketFactory factory = new TrustSocketFactory();
          return  factory.createSocket(host,port);

    }else {
        SocketFactory factory = SocketFactoryFactory.getFactory(protocol,
getOptions());
     return factory.create(host, port, otherHeaders, useFullURL);
     }
??????.
and itīs work !

The problem is?. Now I canīt modify axis.jar, so?..
somebody can help me ???? pls !

can I set SocketFactoryFactoy.getFactory()?by ouside (like a propertie )
 so that it uses my factory
Thanks
Joaco


Reply via email to