-
Interfaces Interface Description eu.emi.security.authn.x509.impl.HostnameMismatchCallback useHostnameMismatchCallback2
and the related classes
-
Classes Class Description eu.emi.security.authn.x509.impl.AbstractHostnameToCertificateChecker UseSocketFactoryCreator.connectWithHostnameChecking(SSLSocket, HostnameMismatchCallback)
instead. This class is not perfect as theHandshakeCompletedListener
is invoked (at least in reference JDK) in a separate thread, what can easily lead to a situation when the connection is opened and made available, before this implementation finishes checking.eu.emi.security.authn.x509.impl.SocketFactoryCreator UseSocketFactoryCreator2
instead, which handles hostname verification in a safer way. Hostname verification provided in this class requires manual wiring and in certain server configuration may cause connection errors.
-
Methods Method Description eu.emi.security.authn.x509.helpers.KeyStoreHelper.getInstance(String) use other methods from this class.eu.emi.security.authn.x509.impl.OpensslNameUtils.opensslToRfc2253(String) This method is not planned for removal but it is marked as deprecated as it is highly unreliable and you should update your code not to use openssl style DNs at all