org.netbeans.lib.collab
Interface SecureSessionListener

All Superinterfaces:
CollaborationSessionListener
All Known Subinterfaces:
SecurityListener

public interface SecureSessionListener
extends CollaborationSessionListener

abstract Session listener Listeners are implemented by the application and invoked by the provider to communicate asynchronous event to the application.

Since:
version 0.1

Method Summary
 boolean onX509Certificate(java.security.cert.X509Certificate[] chain)
          invoked when the user is prompted for accepting an X.509 server certificate.
 
Methods inherited from interface org.netbeans.lib.collab.CollaborationSessionListener
onError
 

Method Detail

onX509Certificate

public boolean onX509Certificate(java.security.cert.X509Certificate[] chain)
invoked when the user is prompted for accepting an X.509 server certificate.

Parameters:
chain - certificate chain
Returns:
true to trust the certificate and keep the session going. false to reject the certicate and terminate the session.