cloudfoundry / multiapps-controller

The server side component (controller) for Multi-Target Application (MTA) for Cloud Foundry
Apache License 2.0
57 stars 42 forks source link

Remove mail logging #1478

Closed boyan-velinov closed 2 months ago

IvanBorislavovDimitrov commented 2 months ago

There are other occurrences of usernames / emails: TokenService#55 (Messages.NO_VALID_TOKEN_FOUND) LOGGER.info(format(Messages.GLOBAL_AUDITOR_USERNAME, value)); LOGGER.info(format(Messages.HEALTH_CHECK_CONFIGURATION, JsonUtil.toJson(healthCheckConfigurationFromEnvironment, true))); LOGGER.debug(MessageFormat.format("Authenticated user is: {0}", username));

LOGGER.debug(String.format("User \"%s\" is not authorized for request to \"%s\".", SecurityContextUtil.getUsername(), ServletUtil.decodeUri(request)), e);

LOGGER.debug(String.format("User \"%s\" is not authorized for request to \"%s\".", userName, ServletUtil.decodeUri(request)), e);

sonarcloud[bot] commented 2 months ago

Quality Gate Failed Quality Gate failed

Failed conditions
60.9% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud