org.netbeans.lib.collab
Interface SecureRegistrationListener

All Superinterfaces:
RegistrationListener

public interface SecureRegistrationListener
extends RegistrationListener

Listener to be used for Registration when using SSL

Since:
version 0.1

Field Summary
 
Fields inherited from interface org.netbeans.lib.collab.RegistrationListener
ADDRESS, ALREADY_REGISTERED, CITY, DATE, EMAIL, FIRST, INSTRUCTIONS, LAST, MISC, MISSING_DATA, NAME, NICK, NOT_AUTHORIZED, NOT_REGISTERED, PASSWORD, PHONE, REGISTERED, SERVICE_UNAVAILABLE, STATE, TEXT, UNKNOWN_ERROR_CONDITION, URL, USERNAME, ZIP
 
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.RegistrationListener
fillRegistrationInformation, redirected, registered, registrationFailed, registrationUpdated, registrationUpdateFailed, unregistered, unregistrationFailed
 

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.