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