org.jacorb.orb.listener

Interface SSLSessionListener

public interface SSLSessionListener extends 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
voidhandshakeException(SSLSessionEvent e)
handshakeException is called whenever the client and server could not negotiate the desired level of security.
voidkeyException(SSLSessionEvent e)
keyException is called whenever a bad SSL key is reported.
voidpeerUnverifiedException(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)
voidprotocolException(SSLSessionEvent e)
protocolException is called whenever there is an error in the operation of the SSL protocol.
voidsessionCreated(SSLSessionEvent e)
sessionCreated is called whenever a successful SSL connection has been made.
voidsslException(SSLSessionEvent e)
sslException is called whenever there is an error in the SSL subsystem.

Method Detail

handshakeException

public 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

public 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

public 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

public 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

sessionCreated

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

Parameters: e a SSLSessionEvent value

sslException

public 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