Hi,

Quoting Furmaniak Christophe <[EMAIL PROTECTED]>:


You can easily mix both.

Yes, this is my problem :-)

I don't know how to mix them. According to the "strict", I need these:

                SSLSession session = socket.getSession();
                String hostname = session.getPeerHost();

but in the authsslprotocolsocketfactory I have a plain socket.
I tried to get the session from the getSSLContext

            getSSLContext().getServerSessionContext().getIds()

and then looping to the ids, but I did not get any Ids...

Thank you,

     Massimiliano

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to