Merge branch '1.5.x'

pull/9914/merge
Andy Wilkinson 7 years ago
commit fcec8a9b0b

@ -164,7 +164,8 @@ public class OAuth2AuthorizationServerConfiguration
String prefix = "security.oauth2.client"; String prefix = "security.oauth2.client";
boolean defaultSecret = this.credentials.isDefaultSecret(); boolean defaultSecret = this.credentials.isDefaultSecret();
logger.info(String.format( 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, prefix, this.credentials.getClientId(), prefix,
defaultSecret ? this.credentials.getClientSecret() : "****")); defaultSecret ? this.credentials.getClientSecret() : "****"));
} }

Loading…
Cancel
Save