org.wildfly.swarm.config.management.security_realm

## Class TruststoreAuthentication<T extends TruststoreAuthentication<T>>

- java.lang.Object
- - org.wildfly.swarm.config.management.security_realm.TruststoreAuthentication<T>

-     public class TruststoreAuthentication<T extends TruststoreAuthentication<T>>
      extends Object

  Configuration of a keystore to use to create a trust manager to verify clients.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TruststoreAuthentication()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addPropertyChangeListener(PropertyChangeListener listener)` Adds a property change listener
    `String` | `getKey()`
    `String` | `keystorePassword()` The password to open the keystore.
    `T` | `keystorePassword(String value)` The password to open the keystore.
    `Map` | `keystorePasswordCredentialReference()` The reference to credential for the keystore password stored in CredentialStore under defined alias or clear text password.
    `T` | `keystorePasswordCredentialReference(Map value)` The reference to credential for the keystore password stored in CredentialStore under defined alias or clear text password.
    `T` | `keystorePasswordCredentialReference(String key, Object value)` The reference to credential for the keystore password stored in CredentialStore under defined alias or clear text password.
    `String` | `keystorePath()` The path of the keystore, will be ignored if the keystore-provider is anything other than JKS.
    `T` | `keystorePath(String value)` The path of the keystore, will be ignored if the keystore-provider is anything other than JKS.
    `String` | `keystoreProvider()` The provider for loading the keystore, defaults to JKS.
    `T` | `keystoreProvider(String value)` The provider for loading the keystore, defaults to JKS.
    `String` | `keystoreRelativeTo()` The name of another previously named path, or of one of the standard paths provided by the system.
    `T` | `keystoreRelativeTo(String value)` The name of another previously named path, or of one of the standard paths provided by the system.
    `void` | `removePropertyChangeListener(PropertyChangeListener listener)` Removes a property change listener

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### TruststoreAuthentication

          public TruststoreAuthentication()

  - ### Method Detail

    - #### getKey

          public String getKey()

    - #### addPropertyChangeListener

          public void addPropertyChangeListener(PropertyChangeListener listener)

      Adds a property change listener

    - #### removePropertyChangeListener

          public void removePropertyChangeListener(PropertyChangeListener listener)

      Removes a property change listener

    - #### keystorePassword

          public String keystorePassword()

      The password to open the keystore.

    - #### keystorePassword

          public T keystorePassword(String value)

      The password to open the keystore.

    - #### keystorePasswordCredentialReference

          public Map keystorePasswordCredentialReference()

      The reference to credential for the keystore password stored in CredentialStore under defined alias or clear text password.

    - #### keystorePasswordCredentialReference

          public T keystorePasswordCredentialReference(Map value)

      The reference to credential for the keystore password stored in CredentialStore under defined alias or clear text password.

    - #### keystorePasswordCredentialReference

          public T keystorePasswordCredentialReference(String key,
                                                       Object value)

      The reference to credential for the keystore password stored in CredentialStore under defined alias or clear text password.

    - #### keystorePath

          public String keystorePath()

      The path of the keystore, will be ignored if the keystore-provider is anything other than JKS.

    - #### keystorePath

          public T keystorePath(String value)

      The path of the keystore, will be ignored if the keystore-provider is anything other than JKS.

    - #### keystoreProvider

          public String keystoreProvider()

      The provider for loading the keystore, defaults to JKS.

    - #### keystoreProvider

          public T keystoreProvider(String value)

      The provider for loading the keystore, defaults to JKS.

    - #### keystoreRelativeTo

          public String keystoreRelativeTo()

      The name of another previously named path, or of one of the standard paths provided by the system. If 'relative-to' is provided, the value of the 'path' attribute is treated as relative to the path specified by this attribute.

    - #### keystoreRelativeTo

          public T keystoreRelativeTo(String value)

      The name of another previously named path, or of one of the standard paths provided by the system. If 'relative-to' is provided, the value of the 'path' attribute is treated as relative to the path specified by this attribute.

Copyright © 2018 JBoss by Red Hat. All rights reserved.