Class TrustAllX509TrustManager

java.lang.Object
org.graylog2.security.TrustAllX509TrustManager
All Implemented Interfaces:
TrustManager, X509TrustManager

public class TrustAllX509TrustManager extends Object implements X509TrustManager
This TrustManager will blindly accept any certificate, useful only if you operate in a trusted environment where the risk of MITM attacks is low, but you still want to prevent clear text connections to protect against casual network sniffing.