org.jacorb.orb.listener
Interface SSLSessionListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
NullSSLSessionListener

public interface SSLSessionListener
extends java.util.EventListener

The SSLSessionListener interface defines methods for a developer to implement in order to receive notifications of SSL events from JacORB.

Version:
$Id: SSLSessionListener.java,v 1.1 2006/06/26 08:08:24 alphonse.bendt Exp $
Author:
Nick Cross

Method Summary
 void handshakeException(SSLSessionEvent e)
          handshakeException is called whenever the client and server could not negotiate the desired level of security.
 void keyException(SSLSessionEvent e)
          keyException is called whenever a bad SSL key is reported.
 void peerUnverifiedException(SSLSessionEvent e)
          peerUnverifiedException is called whenever the peer was not able to identify itself (for example; no certificate, the particular cipher suite being used does not support authentication, or no peer authentication was established during SSL handshaking)
 void protocolException(SSLSessionEvent e)
          protocolException is called whenever there is an error in the operation of the SSL protocol.
 void sessionCreated(SSLSessionEvent e)
          sessionCreated is called whenever a successful SSL connection has been made.
 void sslException(SSLSessionEvent e)
          sslException is called whenever there is an error in the SSL subsystem.
 

Method Detail

sessionCreated

void sessionCreated(SSLSessionEvent e)
sessionCreated is called whenever a successful SSL connection has been made.

Parameters:
e - a SSLSessionEvent value

handshakeException

void handshakeException(SSLSessionEvent e)
handshakeException is called whenever the client and server could not negotiate the desired level of security.

Parameters:
e - a SSLSessionEvent value

keyException

void keyException(SSLSessionEvent e)
keyException is called whenever a bad SSL key is reported. Normally, this indicates misconfiguration of the server or client SSL certificate and private key.

Parameters:
e - a SSLSessionEvent value

peerUnverifiedException

void peerUnverifiedException(SSLSessionEvent e)
peerUnverifiedException is called whenever the peer was not able to identify itself (for example; no certificate, the particular cipher suite being used does not support authentication, or no peer authentication was established during SSL handshaking)

Parameters:
e - a SSLSessionEvent value

protocolException

void protocolException(SSLSessionEvent e)
protocolException is called whenever there is an error in the operation of the SSL protocol. Normally this indicates a flaw in one of the protocol implementations.

Parameters:
e - a SSLSessionEvent value

sslException

void sslException(SSLSessionEvent e)
sslException is called whenever there is an error in the SSL subsystem. This may be called if the error does not fit into one of the above categories.

Parameters:
e - a SSLSessionEvent value