Class EasyX509TrustManager
- java.lang.Object
-
- com.day.cq.analytics.sitecatalyst.util.EasyX509TrustManager
-
- All Implemented Interfaces:
javax.net.ssl.TrustManager
,javax.net.ssl.X509TrustManager
@Deprecated public class EasyX509TrustManager extends java.lang.Object implements javax.net.ssl.X509TrustManager
Deprecated.As of 6.3.0.3 (Package Version 5.7.0), with no replacement.EasyX509TrustManager unlike default
X509TrustManager
accepts self-signed certificates.This trust manager SHOULD NOT be used for productive systems due to security reasons, unless it is a concious decision and you are perfectly aware of security implications of accepting self-signed certificates
-
-
Constructor Summary
Constructors Constructor Description EasyX509TrustManager(java.security.KeyStore keystore, boolean allowExpired)
Deprecated.Constructor for EasyX509TrustManager.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
checkClientTrusted(java.security.cert.X509Certificate[] certificates, java.lang.String authType)
Deprecated.void
checkServerTrusted(java.security.cert.X509Certificate[] certificates, java.lang.String authType)
Deprecated.java.security.cert.X509Certificate[]
getAcceptedIssuers()
Deprecated.
-
-
-
Constructor Detail
-
EasyX509TrustManager
public EasyX509TrustManager(java.security.KeyStore keystore, boolean allowExpired) throws java.security.NoSuchAlgorithmException, java.security.KeyStoreException
Deprecated.Constructor for EasyX509TrustManager.- Parameters:
keystore
- keystoreallowExpired
- flag if expired should be allowed- Throws:
java.security.NoSuchAlgorithmException
- migth be thrownjava.security.KeyStoreException
- migth be thrown
-
-
Method Detail
-
checkClientTrusted
public void checkClientTrusted(java.security.cert.X509Certificate[] certificates, java.lang.String authType) throws java.security.cert.CertificateException
Deprecated.- Specified by:
checkClientTrusted
in interfacejavax.net.ssl.X509TrustManager
- Throws:
java.security.cert.CertificateException
- See Also:
X509TrustManager.checkClientTrusted(X509Certificate[], String)
-
checkServerTrusted
public void checkServerTrusted(java.security.cert.X509Certificate[] certificates, java.lang.String authType) throws java.security.cert.CertificateException
Deprecated.- Specified by:
checkServerTrusted
in interfacejavax.net.ssl.X509TrustManager
- Throws:
java.security.cert.CertificateException
- See Also:
X509TrustManager.checkServerTrusted(java.security.cert.X509Certificate[], String authType)
-
getAcceptedIssuers
public java.security.cert.X509Certificate[] getAcceptedIssuers()
Deprecated.- Specified by:
getAcceptedIssuers
in interfacejavax.net.ssl.X509TrustManager
- See Also:
X509TrustManager.getAcceptedIssuers()
-
-