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 Summary
Fields Modifier and Type Field Description protected StringfactoryAlgorithmThis attribute contains the algorithm the KeyManagers Factory will use in creating the KeyManagers from the KeyStore.protected StringkeyPasswordThis attribute contains the password that unlocks the keys within the keystore.protected StringkeyPasswordCallbackHandlerThis attribute contains the name of the class implementing password callback handler to unlock the keys withing the keystore.protected KeyStoreTypekeyStoreThis element specified the Keystore for these JSSE KeyManagers.protected StringproviderThis attribute contains the KeyManagers provider name.protected StringrefThis attribute contains the reference to the KeyManagers bean.
-
Constructor Summary
Constructors Constructor Description KeyManagersType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFactoryAlgorithm()Gets the value of the factoryAlgorithm property.StringgetKeyPassword()Gets the value of the keyPassword property.StringgetKeyPasswordCallbackHandler()Gets the value of the keyPasswordCallbackHandler property.KeyStoreTypegetKeyStore()Gets the value of the keyStore property.StringgetProvider()Gets the value of the provider property.StringgetRef()Gets the value of the ref property.booleanisSetFactoryAlgorithm()booleanisSetKeyPassword()booleanisSetKeyPasswordCallbackHandler()booleanisSetKeyStore()booleanisSetProvider()booleanisSetRef()voidsetFactoryAlgorithm(String value)Sets the value of the factoryAlgorithm property.voidsetKeyPassword(String value)Sets the value of the keyPassword property.voidsetKeyPasswordCallbackHandler(String value)Sets the value of the keyPasswordCallbackHandler property.voidsetKeyStore(KeyStoreType value)Sets the value of the keyStore property.voidsetProvider(String value)Sets the value of the provider property.voidsetRef(String value)Sets the value of the ref property.
-
-
-
Field Detail
-
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.
-
-
Method Detail
-
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 isKeyStoreType- See Also:
getKeyStore()
-
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 isString- See Also:
getKeyPassword()
-
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 isString- See Also:
getKeyPasswordCallbackHandler()
-
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 isString- See Also:
getProvider()
-
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 isString- See Also:
getFactoryAlgorithm()
-
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.
-
isSetRef
public boolean isSetRef()
-
-