protected char[] getPasswordFromConfig(String name) {
		char[] pass = null;
		if (getBoolean(CredentialProvider.CLEAR_TEXT_FALLBACK,
				CommonConfigurationKeysPublic.
						HADOOP_SECURITY_CREDENTIAL_CLEAR_TEXT_FALLBACK_DEFAULT)) {
			String passStr = get(name);
			if (passStr != null) {
				pass = passStr.toCharArray();
			}
		}
		return pass;
	}
protected char [ ] getPasswordFromConfig ( String name ) { char [ ] pass = null ; if ( getBoolean ( CredentialProvider . CLEAR_TEXT_FALLBACK , CommonConfigurationKeysPublic . HADOOP_SECURITY_CREDENTIAL_CLEAR_TEXT_FALLBACK_DEFAULT ) ) { String passStr = get ( name ) ; if ( passStr != null ) { pass = passStr . toCharArray ( ) ; } } return pass ; }
Fallback to clear text passwords in configuration.
@param name
@return clear text password or null