This is an automated email from the ASF dual-hosted git repository. rombert pushed a commit to annotated tag org.apache.sling.extensions.webconsolesecurityprovider-1.1.6 in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-extensions-webconsolesecurityprovider.git
commit 59d383bc31d561ef94ade1b7e45b478816cbb889 Author: Antonio Sanso <[email protected]> AuthorDate: Tue Aug 18 11:13:29 2015 +0000 SLING-4956 - Endless redirect loop if the logged in user tries to access the system console without enough privileges git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/webconsolesecurityprovider@1696393 13f79535-47bb-0310-9956-ffa450edef68 --- .../internal/SlingWebConsoleSecurityProvider2.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/apache/sling/extensions/webconsolesecurityprovider/internal/SlingWebConsoleSecurityProvider2.java b/src/main/java/org/apache/sling/extensions/webconsolesecurityprovider/internal/SlingWebConsoleSecurityProvider2.java index 4d55d2d..144d431 100644 --- a/src/main/java/org/apache/sling/extensions/webconsolesecurityprovider/internal/SlingWebConsoleSecurityProvider2.java +++ b/src/main/java/org/apache/sling/extensions/webconsolesecurityprovider/internal/SlingWebConsoleSecurityProvider2.java @@ -86,8 +86,9 @@ public class SlingWebConsoleSecurityProvider2 } } } - - this.authenticator.login(request, response); + if (request.getAuthType() == null) { + this.authenticator.login(request, response); + } } return false; } -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
