Changed the log level of the config to debug and masked secret with '*'

This commit is contained in:
Mauro Mugnaini 2021-01-26 15:57:29 +01:00
parent c7ac2df206
commit 84531d5f8e
1 changed files with 10 additions and 10 deletions

View File

@ -71,16 +71,16 @@ public class LiferayOpenIdConnectConfiguration implements OpenIdConnectConfigura
} catch (SystemException | MalformedURLException e) { } catch (SystemException | MalformedURLException e) {
throw new RuntimeException(e); throw new RuntimeException(e);
} }
log.info("authorizationURL=" + getAuthorizationURL()); log.debug("authorizationURL=" + getAuthorizationURL());
log.info("tokenURL=" + getTokenURL()); log.debug("tokenURL=" + getTokenURL());
log.info("logoutURL=" + getLogoutURL()); log.debug("logoutURL=" + getLogoutURL());
log.info("issuerURL=" + getIssuerURL()); log.debug("issuerURL=" + getIssuerURL());
log.info("avatarURL=" + getAvatarURL()); log.debug("avatarURL=" + getAvatarURL());
log.info("portalClientId=" + getPortalClientId()); log.debug("portalClientId=" + getPortalClientId());
log.info("portalClientSecret=" + getPortalClientSecret()); log.debug("portalClientSecret=" + getPortalClientSecret().replaceAll("\\w", "*"));
log.info("scope=" + getScope()); log.debug("scope=" + getScope());
log.info("logoutOnPortalLogout=" + logoutOnPortalLogout()); log.debug("logoutOnPortalLogout=" + logoutOnPortalLogout());
log.info("createUnexistingUser=" + createUnexistingUser()); log.debug("createUnexistingUser=" + createUnexistingUser());
} }
public Long getCompanyId() { public Long getCompanyId() {