/** * Set the config object to use the specified JVM system property to * load a value for the "unicode normalization ignored" parameter. * * @param unicodeNormalizationIgnoredSysPropertyName the name of the property */ public void setUnicodeNormalizationIgnoredSysPropertyName(final String unicodeNormalizationIgnoredSysPropertyName) { this.unicodeNormalizationIgnoredSysPropertyName = unicodeNormalizationIgnoredSysPropertyName; if (unicodeNormalizationIgnoredSysPropertyName == null) { this.unicodeNormalizationIgnored = null; } else { this.unicodeNormalizationIgnoredEnvName = null; final String unicodeNormalizationIgnoredValue = System.getProperty(unicodeNormalizationIgnoredSysPropertyName); if (unicodeNormalizationIgnoredValue != null) { this.unicodeNormalizationIgnored = CommonUtils.getStandardBooleanValue( unicodeNormalizationIgnoredValue); } else { this.unicodeNormalizationIgnored = null; } } }
public synchronized void setParameterValues(final Properties parameters) { super.setParameterValues(parameters); final String paramStoreTimeZone = parameters.getProperty(ParameterNaming.STORE_TIME_ZONE); if ((paramStoreTimeZone != null) && (!paramStoreTimeZone.trim().equals(""))) { this.storeTimeZone = CommonUtils.getStandardBooleanValue(paramStoreTimeZone); } }
/** * <p> * Set the config object to use the specified environment variable to * load the value for the useLenientSaltSizeCheck * property. * </p> * * @since 1.7 * * @param useLenientSaltSizeCheckEnvName the name of the environment variable */ public void setUseLenientSaltSizeCheckEnvName(final String useLenientSaltSizeCheckEnvName) { this.useLenientSaltSizeCheckEnvName = useLenientSaltSizeCheckEnvName; if (useLenientSaltSizeCheckEnvName == null) { super.setUseLenientSaltSizeCheck(null); } else { this.useLenientSaltSizeCheckSysPropertyName = null; super.setUseLenientSaltSizeCheck( CommonUtils.getStandardBooleanValue( System.getenv(useLenientSaltSizeCheckEnvName))); } }
/** * <p> * Set the config object to use the specified JVM system property to * load the value for the useLenientSaltSizeCheck * property. * </p> * * @since 1.7 * * @param useLenientSaltSizeCheckSysPropertyName the name of the property */ public void setUseLenientSaltSizeCheckSysPropertyName(final String useLenientSaltSizeCheckSysPropertyName) { this.useLenientSaltSizeCheckSysPropertyName = useLenientSaltSizeCheckSysPropertyName; if (useLenientSaltSizeCheckSysPropertyName == null) { super.setUseLenientSaltSizeCheck(null); } else { this.useLenientSaltSizeCheckEnvName = null; super.setUseLenientSaltSizeCheck( CommonUtils.getStandardBooleanValue( System.getProperty(useLenientSaltSizeCheckSysPropertyName))); } }
/** * <p> * Set the config object to use the specified environment variable to * load the value for the invertPositionOfSaltInMessageBeforeDigesting * property. * </p> * * @since 1.7 * * @param invertPositionOfSaltInMessageBeforeDigestingEnvName the name of the environment variable */ public void setInvertPositionOfSaltInMessageBeforeDigestingEnvName(final String invertPositionOfSaltInMessageBeforeDigestingEnvName) { this.invertPositionOfSaltInMessageBeforeDigestingEnvName = invertPositionOfSaltInMessageBeforeDigestingEnvName; if (invertPositionOfSaltInMessageBeforeDigestingEnvName == null) { super.setInvertPositionOfSaltInMessageBeforeDigesting(null); } else { this.invertPositionOfSaltInMessageBeforeDigestingSysPropertyName = null; super.setInvertPositionOfSaltInMessageBeforeDigesting( CommonUtils.getStandardBooleanValue( System.getenv(invertPositionOfSaltInMessageBeforeDigestingEnvName))); } }
/** * <p> * Set the config object to use the specified JVM system property to * load the value for the invertPositionOfSaltInMessageBeforeDigesting * property. * </p> * * @since 1.7 * * @param invertPositionOfSaltInMessageBeforeDigestingSysPropertyName the name of the property */ public void setInvertPositionOfSaltInMessageBeforeDigestingSysPropertyName(final String invertPositionOfSaltInMessageBeforeDigestingSysPropertyName) { this.invertPositionOfSaltInMessageBeforeDigestingSysPropertyName = invertPositionOfSaltInMessageBeforeDigestingSysPropertyName; if (invertPositionOfSaltInMessageBeforeDigestingSysPropertyName == null) { super.setInvertPositionOfSaltInMessageBeforeDigesting(null); } else { this.invertPositionOfSaltInMessageBeforeDigestingEnvName = null; super.setInvertPositionOfSaltInMessageBeforeDigesting( CommonUtils.getStandardBooleanValue( System.getProperty(invertPositionOfSaltInMessageBeforeDigestingSysPropertyName))); } }
/** * <p> * Set the config object to use the specified JVM system property to * load the value for the invertPositionOfSaltInMessageBeforeDigesting * property. * </p> * * @since 1.7 * * @param invertPositionOfSaltInMessageBeforeDigestingSysPropertyName the name of the property */ public void setInvertPositionOfSaltInMessageBeforeDigestingSysPropertyName(final String invertPositionOfSaltInMessageBeforeDigestingSysPropertyName) { this.invertPositionOfSaltInMessageBeforeDigestingSysPropertyName = invertPositionOfSaltInMessageBeforeDigestingSysPropertyName; if (invertPositionOfSaltInMessageBeforeDigestingSysPropertyName == null) { super.setInvertPositionOfSaltInMessageBeforeDigesting(null); } else { this.invertPositionOfSaltInMessageBeforeDigestingEnvName = null; super.setInvertPositionOfSaltInMessageBeforeDigesting( CommonUtils.getStandardBooleanValue( System.getProperty(invertPositionOfSaltInMessageBeforeDigestingSysPropertyName))); } }
/** * <p> * Set the config object to use the specified environment variable to * load the value for the useLenientSaltSizeCheck * property. * </p> * * @since 1.7 * * @param useLenientSaltSizeCheckEnvName the name of the environment variable */ public void setUseLenientSaltSizeCheckEnvName(final String useLenientSaltSizeCheckEnvName) { this.useLenientSaltSizeCheckEnvName = useLenientSaltSizeCheckEnvName; if (useLenientSaltSizeCheckEnvName == null) { super.setUseLenientSaltSizeCheck(null); } else { this.useLenientSaltSizeCheckSysPropertyName = null; super.setUseLenientSaltSizeCheck( CommonUtils.getStandardBooleanValue( System.getenv(useLenientSaltSizeCheckEnvName))); } }
/** * <p> * Set the config object to use the specified environment variable to * load the value for the invertPositionOfSaltInMessageBeforeDigesting * property. * </p> * * @since 1.7 * * @param invertPositionOfSaltInMessageBeforeDigestingEnvName the name of the environment variable */ public void setInvertPositionOfSaltInMessageBeforeDigestingEnvName(final String invertPositionOfSaltInMessageBeforeDigestingEnvName) { this.invertPositionOfSaltInMessageBeforeDigestingEnvName = invertPositionOfSaltInMessageBeforeDigestingEnvName; if (invertPositionOfSaltInMessageBeforeDigestingEnvName == null) { super.setInvertPositionOfSaltInMessageBeforeDigesting(null); } else { this.invertPositionOfSaltInMessageBeforeDigestingSysPropertyName = null; super.setInvertPositionOfSaltInMessageBeforeDigesting( CommonUtils.getStandardBooleanValue( System.getenv(invertPositionOfSaltInMessageBeforeDigestingEnvName))); } }
/** * <p> * Set the config object to use the specified JVM system property to * load the value for the invertPositionOfSaltInMessageBeforeDigesting * property. * </p> * * @since 1.7 * * @param invertPositionOfSaltInMessageBeforeDigestingSysPropertyName the name of the property */ public void setInvertPositionOfSaltInMessageBeforeDigestingSysPropertyName(final String invertPositionOfSaltInMessageBeforeDigestingSysPropertyName) { this.invertPositionOfSaltInMessageBeforeDigestingSysPropertyName = invertPositionOfSaltInMessageBeforeDigestingSysPropertyName; if (invertPositionOfSaltInMessageBeforeDigestingSysPropertyName == null) { super.setInvertPositionOfSaltInMessageBeforeDigesting(null); } else { this.invertPositionOfSaltInMessageBeforeDigestingEnvName = null; super.setInvertPositionOfSaltInMessageBeforeDigesting( CommonUtils.getStandardBooleanValue( System.getProperty(invertPositionOfSaltInMessageBeforeDigestingSysPropertyName))); } }
/** * <p> * Set the config object to use the specified environment variable to * load the value for the invertPositionOfPlainSaltInEncryptionResults * property. * </p> * * @since 1.7 * * @param invertPositionOfPlainSaltInEncryptionResultsEnvName the name of the environment variable */ public void setInvertPositionOfPlainSaltInEncryptionResultsEnvName(final String invertPositionOfPlainSaltInEncryptionResultsEnvName) { this.invertPositionOfPlainSaltInEncryptionResultsEnvName = invertPositionOfPlainSaltInEncryptionResultsEnvName; if (invertPositionOfPlainSaltInEncryptionResultsEnvName == null) { super.setInvertPositionOfPlainSaltInEncryptionResults(null); } else { this.invertPositionOfPlainSaltInEncryptionResultsSysPropertyName = null; super.setInvertPositionOfPlainSaltInEncryptionResults( CommonUtils.getStandardBooleanValue( System.getenv(invertPositionOfPlainSaltInEncryptionResultsEnvName))); } }
/** * <p> * Set the config object to use the specified environment variable to * load the value for the invertPositionOfPlainSaltInEncryptionResults * property. * </p> * * @since 1.7 * * @param invertPositionOfPlainSaltInEncryptionResultsEnvName the name of the environment variable */ public void setInvertPositionOfPlainSaltInEncryptionResultsEnvName(final String invertPositionOfPlainSaltInEncryptionResultsEnvName) { this.invertPositionOfPlainSaltInEncryptionResultsEnvName = invertPositionOfPlainSaltInEncryptionResultsEnvName; if (invertPositionOfPlainSaltInEncryptionResultsEnvName == null) { super.setInvertPositionOfPlainSaltInEncryptionResults(null); } else { this.invertPositionOfPlainSaltInEncryptionResultsSysPropertyName = null; super.setInvertPositionOfPlainSaltInEncryptionResults( CommonUtils.getStandardBooleanValue( System.getenv(invertPositionOfPlainSaltInEncryptionResultsEnvName))); } }
/** * <p> * Set the config object to use the specified JVM system property to * load the value for the invertPositionOfPlainSaltInEncryptionResults * property. * </p> * * @since 1.7 * * @param invertPositionOfPlainSaltInEncryptionResultsSysPropertyName the name of the property */ public void setInvertPositionOfPlainSaltInEncryptionResultsSysPropertyName(final String invertPositionOfPlainSaltInEncryptionResultsSysPropertyName) { this.invertPositionOfPlainSaltInEncryptionResultsSysPropertyName = invertPositionOfPlainSaltInEncryptionResultsSysPropertyName; if (invertPositionOfPlainSaltInEncryptionResultsSysPropertyName == null) { super.setInvertPositionOfPlainSaltInEncryptionResults(null); } else { this.invertPositionOfPlainSaltInEncryptionResultsEnvName = null; super.setInvertPositionOfPlainSaltInEncryptionResults( CommonUtils.getStandardBooleanValue( System.getProperty(invertPositionOfPlainSaltInEncryptionResultsSysPropertyName))); } }
/** * <p> * Set the config object to use the specified environment variable to * load the value for the invertPositionOfSaltInMessageBeforeDigesting * property. * </p> * * @since 1.7 * * @param invertPositionOfSaltInMessageBeforeDigestingEnvName the name of the environment variable */ public void setInvertPositionOfSaltInMessageBeforeDigestingEnvName(final String invertPositionOfSaltInMessageBeforeDigestingEnvName) { this.invertPositionOfSaltInMessageBeforeDigestingEnvName = invertPositionOfSaltInMessageBeforeDigestingEnvName; if (invertPositionOfSaltInMessageBeforeDigestingEnvName == null) { super.setInvertPositionOfSaltInMessageBeforeDigesting(null); } else { this.invertPositionOfSaltInMessageBeforeDigestingSysPropertyName = null; super.setInvertPositionOfSaltInMessageBeforeDigesting( CommonUtils.getStandardBooleanValue( System.getenv(invertPositionOfSaltInMessageBeforeDigestingEnvName))); } }
/** * <p> * Set the config object to use the specified environment variable to * load the value for the invertPositionOfPlainSaltInEncryptionResults * property. * </p> * * @since 1.7 * * @param invertPositionOfPlainSaltInEncryptionResultsEnvName the name of the environment variable */ public void setInvertPositionOfPlainSaltInEncryptionResultsEnvName(final String invertPositionOfPlainSaltInEncryptionResultsEnvName) { this.invertPositionOfPlainSaltInEncryptionResultsEnvName = invertPositionOfPlainSaltInEncryptionResultsEnvName; if (invertPositionOfPlainSaltInEncryptionResultsEnvName == null) { super.setInvertPositionOfPlainSaltInEncryptionResults(null); } else { this.invertPositionOfPlainSaltInEncryptionResultsSysPropertyName = null; super.setInvertPositionOfPlainSaltInEncryptionResults( CommonUtils.getStandardBooleanValue( System.getenv(invertPositionOfPlainSaltInEncryptionResultsEnvName))); } }
/** * <p> * Set the config object to use the specified JVM system property to * load the value for the invertPositionOfPlainSaltInEncryptionResults * property. * </p> * * @since 1.7 * * @param invertPositionOfPlainSaltInEncryptionResultsSysPropertyName the name of the property */ public void setInvertPositionOfPlainSaltInEncryptionResultsSysPropertyName(final String invertPositionOfPlainSaltInEncryptionResultsSysPropertyName) { this.invertPositionOfPlainSaltInEncryptionResultsSysPropertyName = invertPositionOfPlainSaltInEncryptionResultsSysPropertyName; if (invertPositionOfPlainSaltInEncryptionResultsSysPropertyName == null) { super.setInvertPositionOfPlainSaltInEncryptionResults(null); } else { this.invertPositionOfPlainSaltInEncryptionResultsEnvName = null; super.setInvertPositionOfPlainSaltInEncryptionResults( CommonUtils.getStandardBooleanValue( System.getProperty(invertPositionOfPlainSaltInEncryptionResultsSysPropertyName))); } }
/** * <p> * Set the config object to use the specified JVM system property to * load the value for the useLenientSaltSizeCheck * property. * </p> * * @since 1.7 * * @param useLenientSaltSizeCheckSysPropertyName the name of the property */ public void setUseLenientSaltSizeCheckSysPropertyName(final String useLenientSaltSizeCheckSysPropertyName) { this.useLenientSaltSizeCheckSysPropertyName = useLenientSaltSizeCheckSysPropertyName; if (useLenientSaltSizeCheckSysPropertyName == null) { super.setUseLenientSaltSizeCheck(null); } else { this.useLenientSaltSizeCheckEnvName = null; super.setUseLenientSaltSizeCheck( CommonUtils.getStandardBooleanValue( System.getProperty(useLenientSaltSizeCheckSysPropertyName))); } }
static boolean getVerbosity(final String[] args) { for (int i = 0; i < args.length; i++) { final String key = CommonUtils.substringBefore(args[i], "="); final String value = CommonUtils.substringAfter(args[i], "="); if (CommonUtils.isEmpty(key) || CommonUtils.isEmpty(value)) { continue; } if (ArgumentNaming.ARG_VERBOSE.equals(key)) { final Boolean verbosity = CommonUtils.getStandardBooleanValue(value); return (verbosity != null? verbosity.booleanValue() : false); } } return true; }
static boolean getVerbosity(final String[] args) { for (int i = 0; i < args.length; i++) { final String key = CommonUtils.substringBefore(args[i], "="); final String value = CommonUtils.substringAfter(args[i], "="); if (CommonUtils.isEmpty(key) || CommonUtils.isEmpty(value)) { continue; } if (ArgumentNaming.ARG_VERBOSE.equals(key)) { final Boolean verbosity = CommonUtils.getStandardBooleanValue(value); return (verbosity != null? verbosity.booleanValue() : false); } } return true; }
static boolean getVerbosity(final String[] args) { for (int i = 0; i < args.length; i++) { final String key = CommonUtils.substringBefore(args[i], "="); final String value = CommonUtils.substringAfter(args[i], "="); if (CommonUtils.isEmpty(key) || CommonUtils.isEmpty(value)) { continue; } if (ArgumentNaming.ARG_VERBOSE.equals(key)) { final Boolean verbosity = CommonUtils.getStandardBooleanValue(value); return (verbosity != null? verbosity.booleanValue() : false); } } return true; }