org.ldaptive.props
Class CredentialConfigParser

java.lang.Object
  extended by org.ldaptive.props.PropertyValueParser
      extended by org.ldaptive.props.CredentialConfigParser

public class CredentialConfigParser
extends PropertyValueParser

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}}
 

Version:
$Revision: 2885 $ $Date: 2014-02-05 16:28:49 -0500 (Wed, 05 Feb 2014) $
Author:
Middleware Services

Field Summary
protected static String DEFAULT_CREDENTIAL_CONFIG_CLASS
          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
CredentialConfigParser(String config)
          Creates a new credential config parser.
 
Method Summary
static 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_CREDENTIAL_CONFIG_CLASS

protected static final String DEFAULT_CREDENTIAL_CONFIG_CLASS
Credential config class found in the config.

See Also:
Constant Field Values
Constructor Detail

CredentialConfigParser

public CredentialConfigParser(String config)
Creates a new credential config parser.

Parameters:
config - containing configuration data
Method Detail

isCredentialConfig

public static boolean isCredentialConfig(String config)
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


Copyright © 2003-2017 Virginia Tech. All Rights Reserved.