incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r732329 - /incubator/sling/trunk/engine/src/main/java/org/apache/sling/engine/impl/auth/SlingAuthenticator.java
Date Wed, 07 Jan 2009 13:31:19 GMT
Author: bdelacretaz
Date: Wed Jan  7 05:31:18 2009
New Revision: 732329

URL: http://svn.apache.org/viewvc?rev=732329&view=rev
Log:
log number of AuthenticationHandlerInfo available to SlingAuthenticator, for easier troubleshooting

Modified:
    incubator/sling/trunk/engine/src/main/java/org/apache/sling/engine/impl/auth/SlingAuthenticator.java

Modified: incubator/sling/trunk/engine/src/main/java/org/apache/sling/engine/impl/auth/SlingAuthenticator.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/engine/src/main/java/org/apache/sling/engine/impl/auth/SlingAuthenticator.java?rev=732329&r1=732328&r2=732329&view=diff
==============================================================================
--- incubator/sling/trunk/engine/src/main/java/org/apache/sling/engine/impl/auth/SlingAuthenticator.java
(original)
+++ incubator/sling/trunk/engine/src/main/java/org/apache/sling/engine/impl/auth/SlingAuthenticator.java
Wed Jan  7 05:31:18 2009
@@ -273,7 +273,10 @@
 
         if ( !done ) {
             // no handler could send an authentication request, fail with FORBIDDEN
-            log.info("requestAuthentication: No handler for request, sending FORBIDDEN");
+            log.info(
+            		"requestAuthentication: No handler for request, sending FORBIDDEN ({} handlers
available)",
+            		handlerInfos.length
+            );
             sendFailure(response);
         }
     }



Mime
View raw message