Commit 3cc22ecf authored by Andy Wilkinson's avatar Andy Wilkinson

Merge pull request #9944 from Christian Bühler

* gh-9944:
  Polish "Fix logged property names when initializing OAuth2 client"
  Fix logged property names when initializing OAuth2 client
parents b9080324 e08d09f5
......@@ -164,7 +164,8 @@ public class OAuth2AuthorizationServerConfiguration
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() : "****"));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment