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:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user