Codota Logo
SslConfig.setCredentialConfig
Code IndexAdd Codota to your IDE (free)

How to use
setCredentialConfig
method
in
org.ldaptive.ssl.SslConfig

Best Java code snippets using org.ldaptive.ssl.SslConfig.setCredentialConfig (Showing top 3 results out of 315)

  • Common ways to obtain SslConfig
private void myMethod () {
SslConfig s =
  • Codota IconConnectionConfig connectionConfig;connectionConfig.getSslConfig()
  • Smart code suggestions by Codota
}
origin: com.floragunn/ldaptive

/**
 * Returns a ssl config initialized with the supplied config.
 *
 * @param  config  ssl config to read properties from
 *
 * @return  ssl config
 */
public static SslConfig newSslConfig(final SslConfig config)
{
 final SslConfig sc = new SslConfig();
 sc.setCredentialConfig(config.getCredentialConfig());
 sc.setTrustManagers(config.getTrustManagers());
 sc.setEnabledCipherSuites(config.getEnabledCipherSuites());
 sc.setEnabledProtocols(config.getEnabledProtocols());
 sc.setHandshakeCompletedListeners(config.getHandshakeCompletedListeners());
 return sc;
}
origin: org.ldaptive/ldaptive

/**
 * Returns a ssl config initialized with the supplied config.
 *
 * @param  config  ssl config to read properties from
 *
 * @return  ssl config
 */
public static SslConfig newSslConfig(final SslConfig config)
{
 final SslConfig sc = new SslConfig();
 sc.setCredentialConfig(config.getCredentialConfig());
 sc.setTrustManagers(config.getTrustManagers());
 sc.setHostnameVerifier(config.getHostnameVerifier());
 sc.setHostnameVerifierConfig(config.getHostnameVerifierConfig());
 sc.setEnabledCipherSuites(config.getEnabledCipherSuites());
 sc.setEnabledProtocols(config.getEnabledProtocols());
 sc.setHandshakeCompletedListeners(config.getHandshakeCompletedListeners());
 return sc;
}
origin: vt-middleware/ldaptive

/**
 * Returns a ssl config initialized with the supplied config.
 *
 * @param  config  ssl config to read properties from
 *
 * @return  ssl config
 */
public static SslConfig newSslConfig(final SslConfig config)
{
 final SslConfig sc = new SslConfig();
 sc.setCredentialConfig(config.getCredentialConfig());
 sc.setTrustManagers(config.getTrustManagers());
 sc.setHostnameVerifier(config.getHostnameVerifier());
 sc.setHostnameVerifierConfig(config.getHostnameVerifierConfig());
 sc.setEnabledCipherSuites(config.getEnabledCipherSuites());
 sc.setEnabledProtocols(config.getEnabledProtocols());
 sc.setHandshakeCompletedListeners(config.getHandshakeCompletedListeners());
 return sc;
}
org.ldaptive.sslSslConfigsetCredentialConfig

Javadoc

Sets the credential config.

Popular methods of SslConfig

  • <init>
    Creates a new ssl config.
  • getCredentialConfig
    Returns the credential config.
  • getEnabledCipherSuites
    Returns the names of the SSL cipher suites to use for secure connections.
  • getEnabledProtocols
    Returns the names of the SSL protocols to use for secure connections.
  • getTrustManagers
    Returns the trust managers.
  • isEmpty
    Returns whether this ssl config contains any configuration data.
  • checkImmutable
  • getHandshakeCompletedListeners
    Returns the handshake completed listeners to use for secure connections.
  • getHostnameVerifier
    Returns the hostname verifier.
  • newSslConfig
    Returns a ssl config initialized with the supplied config.
  • setEnabledCipherSuites
    Sets the SSL cipher suites to use for secure connections.
  • setEnabledProtocols
    Sets the SSL protocol versions to use for secure connections.
  • setEnabledCipherSuites,
  • setEnabledProtocols,
  • setHandshakeCompletedListeners,
  • setTrustManagers,
  • getHostnameVerifierConfig,
  • setHostnameVerifier,
  • setHostnameVerifierConfig

Popular in Java

  • Parsing JSON documents to java classes using gson
  • runOnUiThread (Activity)
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • setContentView (Activity)
  • KeyStore (java.security)
    This class represents an in-memory collection of keys and certificates. It manages two types of entr
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • Stack (java.util)
    The Stack class represents a last-in-first-out (LIFO) stack of objects. It extends class Vector with
  • JFrame (javax.swing)
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now