public char [ ] getPassword ( String name ) throws IOException { char [ ] pass = null ; pass = getPasswordFromCredentialProviders ( name ) ; if ( pass == null ) { pass = getPasswordFromConfig ( name ) ; } return pass ; }
Get the value for a known password configuration element . In order to enable the elimination of clear text passwords in config this method attempts to resolve the property name as an alias through the CredentialProvider API and conditionally fallsback to config .