Hi,
As far as my understanding goes, client certificate authentication is not provided at SAAJ layer.
Having said that, it is possible to achieve the same through JAX-RPC; see:
http://java.sun.com/j2ee/1.4/docs/tutorial/doc/Security7.html#wp498398
Specifically you need to set the following properties:
| System.setProperty("javax.net.ssl.keyStore",
keyStore);
System.setProperty("javax.net.ssl.keyStorePassword",
keyStorePassword);
System.setProperty("javax.net.ssl.trustStore",
trustStore);
System.setProperty("javax.net.ssl.trustStorePassword",
trustStorePassword);
As detailed in the link, you will have to make corresponding changes in server to enable client-authentication.
I'll try to find out if this can be done at saaj layer also and get back to you.
|
Thanks,
Ashutosh
Evaristo José Camarero wrote:
> No documentation, nothing in the web, and no answer so
> I guess that TLS client certificate authentication it
> is not supported by SAAJ SOAPConnection...
>
> --- Evaristo José Camarero <evaristojosec_at_yahoo.es>
> escribió:
>
>
>> Hello:
>>
>> I have seen that SAAJ support HTTP Basic
>> Authentication, but does it support TLS client
>> certificate authentication?
>>
>> Regards,
>>
>> Evaristo Camarero
>>
>>
>>
>> ______________________________________________
>> LLama Gratis a cualquier PC del Mundo.
>> Llamadas a fijos y móviles desde 1 céntimo por
>> minuto.
>> http://es.voice.yahoo.com
>>
>>
>>
> ---------------------------------------------------------------------
>
>> To unsubscribe, e-mail:
>> users-unsubscribe_at_saaj.dev.java.net
>> For additional commands, e-mail:
>> users-help_at_saaj.dev.java.net
>>
>>
>>
>
>
>
>
> ______________________________________________
> LLama Gratis a cualquier PC del Mundo.
> Llamadas a fijos y móviles desde 1 céntimo por minuto.
> http://es.voice.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_saaj.dev.java.net
> For additional commands, e-mail: users-help_at_saaj.dev.java.net
>
>