public String getPassword ( ) { final String password = basicJdbcConfiguration . getConfiguredPassword ( ) ; if ( calculatedPassword == null || StringUtils . hasText ( password ) ) { calculatedPassword = password ; if ( ! StringUtils . hasText ( calculatedPassword ) && JdbcDatabaseManager . isEmbedded ( basicJdbcConfiguration . getDriverClassName ( ) ) ) { calculatedPassword = "" ; } } return calculatedPassword ; }
Determines the password based on the configured value . If the password is not configured and an embedded database driver is on the classpath return an empty string .