salesforce-lib/src/main/java/com/streamsets/pipeline/lib/salesforce/mutualauth/MutualAuthConfigBean.java
public void init(Stage.Context context, String prefix, List<Stage.ConfigIssue> issues) {
    underlyingConfig = new TlsConfigBean();
    underlyingConfig.tlsEnabled = true;
    if (useMutualAuth) {
      underlyingConfig.keyStorePassword = keyStorePassword;
      underlyingConfig.keyStoreFilePath = keyStoreFilePath;
      underlyingConfig.keyStoreAlgorithm = keyStoreAlgorithm;
      underlyingConfig.keyStoreType = keyStoreType;
      underlyingConfig.init(context, "TLS", prefix, issues);
      LOG.debug("Initialized Mutual Authentication config with {} keystore file {}",
          underlyingConfig.keyStoreType,
          underlyingConfig.keyStoreFilePath
      );
    }
  }
public void init(Stage.Context context, String prefix, List<Stage.ConfigIssue> issues) {
    underlyingConfig = new TlsConfigBean();
    underlyingConfig.tlsEnabled = true;
    if (useMutualAuth) {
      underlyingConfig.keyStorePassword = keyStorePassword;
      underlyingConfig.keyStoreFilePath = keyStoreFilePath;
      underlyingConfig.keyStoreAlgorithm = keyStoreAlgorithm;
      underlyingConfig.keyStoreType = keyStoreType;
      underlyingConfig.init(context, "TLS", prefix, issues);
      LOG.debug("Initialized Mutual Authentication config with {} keystore file {}",
          underlyingConfig.keyStoreType,
          underlyingConfig.keyStoreFilePath
      );
    }
  }
public void init ( Stage . Context context , String prefix , List < Stage . ConfigIssue > issues ) { underlyingConfig = new TlsConfigBean ( ) ; underlyingConfig . tlsEnabled = true ; if ( useMutualAuth ) { underlyingConfig . keyStorePassword = keyStorePassword ; underlyingConfig . keyStoreFilePath = keyStoreFilePath ; underlyingConfig . keyStoreAlgorithm = keyStoreAlgorithm ; underlyingConfig . keyStoreType = keyStoreType ; underlyingConfig . init ( context , "TLS" , prefix , issues ) ; LOG . debug ( "Initialized Mutual Authentication config with {} keystore file {}" , underlyingConfig . keyStoreType , underlyingConfig . keyStoreFilePath ) ; } }
Validates the parameters for this config bean.
@param context Stage Context
@param prefix Prefix to the parameter names (e.g. parent beans)
@param issues List of issues to augment
Validates the parameters for this config bean .