mirror of
https://github.com/apache/nifi.git
synced 2025-03-06 17:39:36 +00:00
NIFI-8194 Updated log level from WARN to DEBUG for various authentication protocols not being configured
This commit is contained in:
parent
b55998afc1
commit
3f26e54521
@ -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();
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user