Author: justin
Date: Mon Aug 23 21:12:37 2010
New Revision: 988314
URL: http://svn.apache.org/viewvc?rev=988314&view=rev
Log:
SLING-1686 - adding post processing for fallback basic auth handler
Modified:
sling/trunk/bundles/auth/core/src/main/java/org/apache/sling/auth/core/impl/SlingAuthenticator.java
Modified:
sling/trunk/bundles/auth/core/src/main/java/org/apache/sling/auth/core/impl/SlingAuthenticator.java
URL:
http://svn.apache.org/viewvc/sling/trunk/bundles/auth/core/src/main/java/org/apache/sling/auth/core/impl/SlingAuthenticator.java?rev=988314&r1=988313&r2=988314&view=diff
==============================================================================
---
sling/trunk/bundles/auth/core/src/main/java/org/apache/sling/auth/core/impl/SlingAuthenticator.java
(original)
+++
sling/trunk/bundles/auth/core/src/main/java/org/apache/sling/auth/core/impl/SlingAuthenticator.java
Mon Aug 23 21:12:37 2010
@@ -593,6 +593,9 @@ public class SlingAuthenticator implemen
final AuthenticationInfo authInfo =
httpBasicHandler.extractCredentials(
request, response);
if (authInfo != null) {
+ // post process the AuthenticationInfo object
+ postProcess(authInfo, request, response);
+
authInfo.put(AUTH_INFO_PROP_FEEDBACK_HANDLER, httpBasicHandler);
return authInfo;
}