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.2 2006/06/29 15:17:55 alphonse.bendt Exp $
Author:
Nick Cross

Constructor Summary
SSLHandshakeListener(org.apache.avalon.framework.logger.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.apache.avalon.framework.logger.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