Skip to content

Commit

Permalink
Fix logged property names when initializing OAuth2 client
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-sahlmann authored and wilkinsona committed Aug 9, 2017
1 parent b908032 commit 6babd41
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ public void init() {
String prefix = "security.oauth2.client";
boolean defaultSecret = this.credentials.isDefaultSecret();
logger.info(String.format(
"Initialized OAuth2 Client%n%n%s.clientId = %s%n%s.secret = %s%n%n",
"Initialized OAuth2 Client%n%n%s.client-id = %s%n%s.client-secret = %s%n%n",
prefix, this.credentials.getClientId(), prefix,
defaultSecret ? this.credentials.getClientSecret() : "****"));
}
Expand Down

0 comments on commit 6babd41

Please sign in to comment.