NIFI-8194 Updated log level from WARN to DEBUG for various authentication protocols not being configured

This commit is contained in:
Jon Kessler 2021-02-05 16:01:34 +00:00 committed by markap14
parent b55998afc1
commit 3f26e54521
2 changed files with 5 additions and 5 deletions

View File

@ -220,7 +220,7 @@ public class AccessResource extends ApplicationResource {
// ensure saml is enabled
if (!samlService.isSamlEnabled()) {
logger.warn(SAMLService.SAML_SUPPORT_IS_NOT_CONFIGURED);
logger.debug(SAMLService.SAML_SUPPORT_IS_NOT_CONFIGURED);
return Response.status(Response.Status.CONFLICT).entity(SAMLService.SAML_SUPPORT_IS_NOT_CONFIGURED).build();
}
@ -425,7 +425,7 @@ public class AccessResource extends ApplicationResource {
// ensure saml is enabled
if (!samlService.isSamlEnabled()) {
logger.warn(SAMLService.SAML_SUPPORT_IS_NOT_CONFIGURED);
logger.debug(SAMLService.SAML_SUPPORT_IS_NOT_CONFIGURED);
return Response.status(Response.Status.CONFLICT).entity(SAMLService.SAML_SUPPORT_IS_NOT_CONFIGURED).build();
}
@ -827,7 +827,7 @@ public class AccessResource extends ApplicationResource {
// ensure oidc is enabled
if (!oidcService.isOidcEnabled()) {
logger.warn(OPEN_ID_CONNECT_SUPPORT_IS_NOT_CONFIGURED_MSG);
logger.debug(OPEN_ID_CONNECT_SUPPORT_IS_NOT_CONFIGURED_MSG);
return Response.status(Response.Status.CONFLICT).entity(OPEN_ID_CONNECT_SUPPORT_IS_NOT_CONFIGURED_MSG).build();
}
@ -1351,7 +1351,7 @@ public class AccessResource extends ApplicationResource {
// If Kerberos Service Principal and keytab location not configured, throws exception
if (!properties.isKerberosSpnegoSupportEnabled() || kerberosService == null) {
final String message = "Kerberos ticket login not supported by this NiFi.";
logger.warn(message);
logger.debug(message);
return Response.status(Response.Status.CONFLICT).entity(message).build();
}

View File

@ -110,7 +110,7 @@ public class StandardOidcIdentityProvider implements OidcIdentityProvider {
public void initializeProvider() {
// attempt to process the oidc configuration if configured
if (!properties.isOidcEnabled()) {
logger.warn("The OIDC provider is not configured or enabled");
logger.debug("The OIDC provider is not configured or enabled");
return;
}