/** * Gets the string value for a given parameter after decoding it if necessary. * @param name the name of the parameter. * @param defaultValue the default (not encoded) value to use. * @return the string value of the given parameter, decoded if necessary. */ public String getEncodedString (String name, String defaultValue) { return Base64.decodePassword(getString(name, defaultValue)); }
if ( category != null ) { logger.info("Found engine '{}'. Using category '{}'.", keyWithLoc, category); return Base64.decodePassword(category); if ( category != null ) { logger.info("Found fallback engine '{}'. Using category '{}'.", keyWithLoc, category); return Base64.decodePassword(category);