Class KeyManagersType

java.lang.Object
org.apache.cxf.configuration.security.KeyManagersType

public class KeyManagersType extends Object
This structure specifies the JSSE based KeyManagers for a single Keystore.

Java class for KeyManagersType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="KeyManagersType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="keyStore" type="{http://cxf.apache.org/configuration/security}KeyStoreType" minOccurs="0"/>
       </sequence>
       <attribute name="keyPassword" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="keyPasswordCallbackHandler" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="provider" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="factoryAlgorithm" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="ref" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • keyStore

      protected KeyStoreType keyStore
      This element specified the Keystore for these JSSE KeyManagers.
    • keyPassword

      protected String keyPassword
      This attribute contains the password that unlocks the keys within the keystore.
    • keyPasswordCallbackHandler

      protected String keyPasswordCallbackHandler
      This attribute contains the name of the class implementing password callback handler to unlock the keys withing the keystore. Alternative to keyPassword attribute.
    • provider

      protected String provider
      This attribute contains the KeyManagers provider name.
    • factoryAlgorithm

      protected String factoryAlgorithm
      This attribute contains the algorithm the KeyManagers Factory will use in creating the KeyManagers from the KeyStore. Most common examples are "PKIX".
    • ref

      protected String ref
      This attribute contains the reference to the KeyManagers bean. This attribute allows the KeyManagers instance to be constructed by other means and referenced from this object.
  • Constructor Details

    • KeyManagersType

      public KeyManagersType()
  • Method Details

    • getKeyStore

      public KeyStoreType getKeyStore()
      Gets the value of the keyStore property.

      This element specified the Keystore for these JSSE KeyManagers.

      Returns:
      possible object is KeyStoreType
    • setKeyStore

      public void setKeyStore(KeyStoreType value)
      Sets the value of the keyStore property.
      Parameters:
      value - allowed object is KeyStoreType
      See Also:
    • isSetKeyStore

      public boolean isSetKeyStore()
    • getKeyPassword

      public String getKeyPassword()
      Gets the value of the keyPassword property.

      This attribute contains the password that unlocks the keys within the keystore.

      Returns:
      possible object is String
    • setKeyPassword

      public void setKeyPassword(String value)
      Sets the value of the keyPassword property.
      Parameters:
      value - allowed object is String
      See Also:
    • isSetKeyPassword

      public boolean isSetKeyPassword()
    • getKeyPasswordCallbackHandler

      public String getKeyPasswordCallbackHandler()
      Gets the value of the keyPasswordCallbackHandler property.

      This attribute contains the name of the class implementing password callback handler to unlock the keys withing the keystore. Alternative to keyPassword attribute.

      Returns:
      possible object is String
    • setKeyPasswordCallbackHandler

      public void setKeyPasswordCallbackHandler(String value)
      Sets the value of the keyPasswordCallbackHandler property.
      Parameters:
      value - allowed object is String
      See Also:
    • isSetKeyPasswordCallbackHandler

      public boolean isSetKeyPasswordCallbackHandler()
    • getProvider

      public String getProvider()
      Gets the value of the provider property.

      This attribute contains the KeyManagers provider name.

      Returns:
      possible object is String
    • setProvider

      public void setProvider(String value)
      Sets the value of the provider property.
      Parameters:
      value - allowed object is String
      See Also:
    • isSetProvider

      public boolean isSetProvider()
    • getFactoryAlgorithm

      public String getFactoryAlgorithm()
      Gets the value of the factoryAlgorithm property.

      This attribute contains the algorithm the KeyManagers Factory will use in creating the KeyManagers from the KeyStore. Most common examples are "PKIX".

      Returns:
      possible object is String
    • setFactoryAlgorithm

      public void setFactoryAlgorithm(String value)
      Sets the value of the factoryAlgorithm property.
      Parameters:
      value - allowed object is String
      See Also:
    • isSetFactoryAlgorithm

      public boolean isSetFactoryAlgorithm()
    • getRef

      public String getRef()
      Gets the value of the ref property.

      This attribute contains the reference to the KeyManagers bean. This attribute allows the KeyManagers instance to be constructed by other means and referenced from this object.

      Returns:
      possible object is String
    • setRef

      public void setRef(String value)
      Sets the value of the ref property.
      Parameters:
      value - allowed object is String
      See Also:
    • isSetRef

      public boolean isSetRef()