org.jacorb.orb.listener
Class SSLHandshakeListener

java.lang.Object
  extended by org.jacorb.orb.listener.SSLHandshakeListener
All Implemented Interfaces:
java.util.EventListener, javax.net.ssl.HandshakeCompletedListener

public class SSLHandshakeListener
extends java.lang.Object
implements javax.net.ssl.HandshakeCompletedListener

SSLHandshakeListener implements the SSL Handshake Listener in order to detect a successful SSL connection. It then passes this information on to the external SSLListener.

Version:
$Id: SSLHandshakeListener.java,v 1.4 2009-05-03 21:35:56 andre.spiegel Exp $
Author:
Nick Cross

Constructor Summary
SSLHandshakeListener(org.slf4j.Logger logger, SSLSessionListener listener)
           
 
Method Summary
 void handshakeCompleted(javax.net.ssl.HandshakeCompletedEvent event)
          handshakeCompleted is the implementation that is invoked when a SSL handshake is completed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSLHandshakeListener

public SSLHandshakeListener(org.slf4j.Logger logger,
                            SSLSessionListener listener)
Method Detail

handshakeCompleted

public void handshakeCompleted(javax.net.ssl.HandshakeCompletedEvent event)
handshakeCompleted is the implementation that is invoked when a SSL handshake is completed. The getPeerCertificateChain method is used to ensure backward compatibility with JDK 1.3

Specified by:
handshakeCompleted in interface javax.net.ssl.HandshakeCompletedListener
Parameters:
event - a HandshakeCompletedEvent value