Do not print CF information by default

In particular, ensure that no secret information is printed when
creating CF targets.
This commit is contained in:
nsingh
2017-01-23 15:21:03 -08:00
parent 68e550867d
commit fc852cab15
2 changed files with 2 additions and 2 deletions

View File

@@ -116,7 +116,7 @@ public class CFCredentials {
if (password==null) {
return null;
}
return type==CFCredentialType.PASSWORD
return (type==CFCredentialType.PASSWORD || type==CFCredentialType.REFRESH_TOKEN)
? "****"
: password;
}

View File

@@ -160,7 +160,7 @@ public class CloudFoundryClientCache {
}
}
private static final boolean DEBUG = true;
private static final boolean DEBUG = false;
private static void debug(String string) {
if (DEBUG) {