com.ibm.team.repository.client.certificateHandler
I created a plugin with extension com.ibm.team.repository.client.certificateHandler. I gave it the priority value of 1 and set it with class AcceptPermanentlyCertificateHandler. Here is its definition:
public class AcceptPermanentlyCertificateHandler implements ICertificateHandler {
@Override
public Trust evaluate(ITeamRepository repository, X509Certificate certificate, CertificateException problem) {
Utils.logInfo("AcceptPermanentlyCertificateHandler.Trust");
return Trust.ACCEPT_PERMANENT;
}
}
@Override
public Trust evaluate(ITeamRepository repository, X509Certificate certificate, CertificateException problem) {
Utils.logInfo("AcceptPermanentlyCertificateHandler.Trust");
return Trust.ACCEPT_PERMANENT;
}
}
Sometimes, when connecting a server for the first time - this plugin is not called and I get the certification dialog.
Any ideas what I can check in order to solve this issue will be warmly appreciated. Is there any log file in the server which might supply information ? Any entry point in RTC client SDK I should place a break point ?
Also, since this does not happen always - I am looking for any server settings I should compare in order to understand the difference in behavior.