SecurityFactory<X509TrustManager> getX509TrustManagerFactory() { return trustManagerFactory == null ? SSLUtils.getDefaultX509TrustManagerSecurityFactory() : trustManagerFactory; }
/** * Construct a new instance. * * @param delegate the delegate SASL server factory * @param trustManager the trust manager to use or {@code null} if the default trust manager should be used */ public TrustManagerSaslServerFactory(final SaslServerFactory delegate, final X509TrustManager trustManager) { super(delegate); if (trustManager == null) { this.trustManagerFactory = SSLUtils.getDefaultX509TrustManagerSecurityFactory(); } else { this.trustManagerFactory = new FixedSecurityFactory<>(trustManager); } }
SecurityFactory<X509TrustManager> getX509TrustManagerFactory() { return trustManagerFactory == null ? SSLUtils.getDefaultX509TrustManagerSecurityFactory() : trustManagerFactory; }
SecurityFactory<X509TrustManager> getX509TrustManagerFactory() { return trustManagerFactory == null ? SSLUtils.getDefaultX509TrustManagerSecurityFactory() : trustManagerFactory; }
SecurityFactory<X509TrustManager> getX509TrustManagerFactory() { return trustManagerFactory == null ? SSLUtils.getDefaultX509TrustManagerSecurityFactory() : trustManagerFactory; }
/** * Construct a new instance. * * @param delegate the delegate SASL server factory * @param trustManager the trust manager to use or {@code null} if the default trust manager should be used */ public TrustManagerSaslServerFactory(final SaslServerFactory delegate, final X509TrustManager trustManager) { super(delegate); if (trustManager == null) { this.trustManagerFactory = SSLUtils.getDefaultX509TrustManagerSecurityFactory(); } else { this.trustManagerFactory = new FixedSecurityFactory<>(trustManager); } }
/** * Construct a new instance. * * @param delegate the delegate SASL server factory * @param trustManager the trust manager to use or {@code null} if the default trust manager should be used */ public TrustManagerSaslServerFactory(final SaslServerFactory delegate, final X509TrustManager trustManager) { super(delegate); if (trustManager == null) { this.trustManagerFactory = SSLUtils.getDefaultX509TrustManagerSecurityFactory(); } else { this.trustManagerFactory = new FixedSecurityFactory<>(trustManager); } }
/** * Construct a new instance. * * @param delegate the delegate SASL server factory * @param trustManager the trust manager to use or {@code null} if the default trust manager should be used */ public TrustManagerSaslServerFactory(final SaslServerFactory delegate, final X509TrustManager trustManager) { super(delegate); if (trustManager == null) { this.trustManagerFactory = SSLUtils.getDefaultX509TrustManagerSecurityFactory(); } else { this.trustManagerFactory = new FixedSecurityFactory<>(trustManager); } }