Tabnine Logo
KeyStoreCredentialConfig
Code IndexAdd Tabnine to your IDE (free)

How to use
KeyStoreCredentialConfig
in
org.ldaptive.ssl

Best Java code snippets using org.ldaptive.ssl.KeyStoreCredentialConfig (Showing top 5 results out of 315)

origin: org.ldaptive/ldaptive

 @Override
 public String toString()
 {
  return
   String.format(
    "[%s@%d::trustStore=%s, trustStoreType=%s, trustStoreAliases=%s, " +
    "keyStore=%s, keyStoreType=%s, keyStoreAliases=%s]",
    getClass().getName(),
    hashCode(),
    trustStore,
    trustStoreType,
    Arrays.toString(trustStoreAliases),
    keyStore,
    keyStoreType,
    Arrays.toString(keyStoreAliases));
 }
}
origin: vt-middleware/ldaptive

final KeyStoreCredentialConfig o7 = new KeyStoreCredentialConfig();
o7.setTrustStore("classpath:/ldaptive.truststore");
o7.setTrustStoreType("BKS");
final KeyStoreCredentialConfig o8 = new KeyStoreCredentialConfig();
o8.setTrustStore("classpath:/ldaptive.truststore");
o8.setTrustStoreType("BKS");
 "{trustStoreType=BKS}" +
 "{trustStoreAliases=alias1}}";
final KeyStoreCredentialConfig o9 = new KeyStoreCredentialConfig();
o9.setTrustStore("classpath:/ldaptive.truststore");
o9.setTrustStoreType("BKS");
o9.setTrustStoreAliases("alias1");
 "{trustStoreType=BKS}" +
 "{trustStoreAliases=alias1,alias2}}";
final KeyStoreCredentialConfig o10 = new KeyStoreCredentialConfig();
o10.setTrustStore("classpath:/ldaptive.truststore");
o10.setTrustStoreType("BKS");
o10.setTrustStoreAliases("alias1", "alias2");
 "{keyStorePassword=changeit}" +
 "{keyStoreAliases=alias1,alias2}}";
final KeyStoreCredentialConfig o11 = new KeyStoreCredentialConfig();
o11.setTrustStore("file:/path/to/my/cacerts");
o11.setTrustStorePassword("changeit");
o11.setTrustStoreAliases("custom-1", "custom-2");
o11.setKeyStore("file:/path/to/my/ldaptive.keystore");
origin: org.pac4j/pac4j-config

  cc.setSslConfig(new SslConfig(cfg));
} else if (l.getKeystore() != null) {
  final KeyStoreCredentialConfig cfg = new KeyStoreCredentialConfig();
  cfg.setKeyStore(l.getKeystore());
  cfg.setKeyStorePassword(l.getKeystorePassword());
  cfg.setKeyStoreType(l.getKeystoreType());
  cc.setSslConfig(new SslConfig(cfg));
} else {
origin: com.floragunn/ldaptive

 @Override
 public String toString()
 {
  return
   String.format(
    "[%s@%d::trustStore=%s, trustStoreType=%s, trustStoreAliases=%s, " +
    "keyStore=%s, keyStoreType=%s, keyStoreAliases=%s]",
    getClass().getName(),
    hashCode(),
    trustStore,
    trustStoreType,
    Arrays.toString(trustStoreAliases),
    keyStore,
    keyStoreType,
    Arrays.toString(keyStoreAliases));
 }
}
origin: vt-middleware/ldaptive

 @Override
 public String toString()
 {
  return
   String.format(
    "[%s@%d::trustStore=%s, trustStoreType=%s, trustStoreAliases=%s, " +
    "keyStore=%s, keyStoreType=%s, keyStoreAliases=%s]",
    getClass().getName(),
    hashCode(),
    trustStore,
    trustStoreType,
    Arrays.toString(trustStoreAliases),
    keyStore,
    keyStoreType,
    Arrays.toString(keyStoreAliases));
 }
}
org.ldaptive.sslKeyStoreCredentialConfig

Javadoc

Provides the properties necessary for creating an SSL context initializer with a keystore credential reader.

Most used methods

  • <init>
  • hashCode
  • setKeyStore
    Sets the name of the keystore to use.
  • setKeyStorePassword
    Sets the password for the keystore.
  • setKeyStoreAliases
    Sets the aliases of the keystore to use.
  • setKeyStoreType
    Sets the type of the keystore.
  • setTrustStore
    Sets the name of the truststore to use.
  • setTrustStoreAliases
    Sets the aliases of the truststore to use.
  • setTrustStorePassword
    Sets the password for the truststore.
  • setTrustStoreType
    Sets the type of the truststore.

Popular in Java

  • Start an intent from android
  • getSharedPreferences (Context)
  • notifyDataSetChanged (ArrayAdapter)
  • getResourceAsStream (ClassLoader)
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now