com.sun.im.service
Interface SecureSessionListener
- All Superinterfaces:
- CollaborationSessionListener
- 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.
Method Summary |
boolean |
onX509Certificate(java.security.cert.X509Certificate[] chain)
invoked when the user is prompted for accepting
an X.509 server certificate. |
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.