Class EasyX509TrustManager
- java.lang.Object
-
- com.day.cq.analytics.sitecatalyst.util.EasyX509TrustManager
-
- All Implemented Interfaces:
TrustManager
,X509TrustManager
@Deprecated public class EasyX509TrustManager extends Object implements 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(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(X509Certificate[] certificates, String authType)
Deprecated.void
checkServerTrusted(X509Certificate[] certificates, String authType)
Deprecated.X509Certificate[]
getAcceptedIssuers()
Deprecated.
-
-
-
Constructor Detail
-
EasyX509TrustManager
public EasyX509TrustManager(KeyStore keystore, boolean allowExpired) throws NoSuchAlgorithmException, KeyStoreException
Deprecated.Constructor for EasyX509TrustManager.- Parameters:
keystore
- keystoreallowExpired
- flag if expired should be allowed- Throws:
NoSuchAlgorithmException
- migth be thrownKeyStoreException
- migth be thrown
-
-
Method Detail
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] certificates, String authType) throws CertificateException
Deprecated.- Specified by:
checkClientTrusted
in interfaceX509TrustManager
- Throws:
CertificateException
- See Also:
X509TrustManager.checkClientTrusted(X509Certificate[], String)
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] certificates, String authType) throws CertificateException
Deprecated.- Specified by:
checkServerTrusted
in interfaceX509TrustManager
- Throws:
CertificateException
- See Also:
X509TrustManager.checkServerTrusted(java.security.cert.X509Certificate[], String authType)
-
getAcceptedIssuers
public X509Certificate[] getAcceptedIssuers()
Deprecated.- Specified by:
getAcceptedIssuers
in interfaceX509TrustManager
- See Also:
X509TrustManager.getAcceptedIssuers()
-
-