Package org.ldaptive.props
Class CredentialConfigParser
java.lang.Object
org.ldaptive.props.PropertyValueParser
org.ldaptive.props.CredentialConfigParser
Parses the configuration data associated with credential configs. The format of the property string should be like:
KeyStoreCredentialConfig {{trustStore=file:/tmp/my.truststore}{trustStoreType=JKS}}
or
{{trustCertificates=file:/tmp/my.crt}}
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final String
Credential config class found in the config.Fields inherited from class org.ldaptive.props.PropertyValueParser
CONFIG_PATTERN, logger, PARAMS_ONLY_CONFIG_PATTERN, PROPERTY_PATTERN
-
Constructor Summary
ConstructorsConstructorDescriptionCredentialConfigParser
(String config) Creates a new credential config parser. -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isCredentialConfig
(String config) Returns whether the supplied configuration data contains a credential config.Methods inherited from class org.ldaptive.props.PropertyValueParser
getClassName, getProperties, initialize, initializeProperties, initializeType, isConfig, isParamsOnlyConfig, setClassName, setProperties
-
Field Details
-
DEFAULT_CREDENTIAL_CONFIG_CLASS
Credential config class found in the config.- See Also:
-
-
Constructor Details
-
CredentialConfigParser
Creates a new credential config parser.- Parameters:
config
- containing configuration data
-
-
Method Details
-
isCredentialConfig
Returns whether the supplied configuration data contains a credential config.- Parameters:
config
- containing configuration data- Returns:
- whether the supplied configuration data contains a credential config
-