You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by cz...@apache.org on 2022/09/10 10:23:47 UTC
[sling-org-apache-sling-auth-core] branch master updated: SLING-11577 : Remove excessive logging if anonymous is not allowed
This is an automated email from the ASF dual-hosted git repository.
cziegeler pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-auth-core.git
The following commit(s) were added to refs/heads/master by this push:
new f048221 SLING-11577 : Remove excessive logging if anonymous is not allowed
f048221 is described below
commit f048221a6836c8a80c7403b6dab9f90f6ab8c3c8
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Sat Sep 10 12:23:32 2022 +0200
SLING-11577 : Remove excessive logging if anonymous is not allowed
---
src/main/java/org/apache/sling/auth/core/impl/SlingAuthenticator.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/java/org/apache/sling/auth/core/impl/SlingAuthenticator.java b/src/main/java/org/apache/sling/auth/core/impl/SlingAuthenticator.java
index c21e23c..4a6ed94 100644
--- a/src/main/java/org/apache/sling/auth/core/impl/SlingAuthenticator.java
+++ b/src/main/java/org/apache/sling/auth/core/impl/SlingAuthenticator.java
@@ -353,7 +353,7 @@ public class SlingAuthenticator implements Authenticator,
this.authUriSuffices = config.auth_uri_suffix();
if (!config.auth_annonymous()) {
- log.debug("modified: Anonymous Access is denied thus HTTP Basic Authentication is fully enabled");
+ log.info("modified: Anonymous Access is denied thus HTTP Basic Authentication is fully enabled");
}
final String http = getHttpAuth(config);
@@ -829,7 +829,7 @@ public class SlingAuthenticator implements Authenticator,
// If we get here, anonymous access is not allowed: redirect
// to the login servlet
- log.info("getAnonymousResolver: Anonymous access not allowed by configuration - requesting credentials");
+ log.debug("getAnonymousResolver: Anonymous access not allowed by configuration - requesting credentials");
doLogin(request, response);
// fallback to no session