Author: aogburn
Date: 2014-08-18 09:17:22 -0400 (Mon, 18 Aug 2014)
New Revision: 2487
Modified:
branches/JBOSSWEB_7_2_2_FINAL_BZ-1130564/src/main/java/org/apache/catalina/authenticator/DigestAuthenticator.java
Log:
[BZ-1130564] merge one-off fix
Modified:
branches/JBOSSWEB_7_2_2_FINAL_BZ-1130564/src/main/java/org/apache/catalina/authenticator/DigestAuthenticator.java
===================================================================
---
branches/JBOSSWEB_7_2_2_FINAL_BZ-1130564/src/main/java/org/apache/catalina/authenticator/DigestAuthenticator.java 2014-08-15
14:36:41 UTC (rev 2486)
+++
branches/JBOSSWEB_7_2_2_FINAL_BZ-1130564/src/main/java/org/apache/catalina/authenticator/DigestAuthenticator.java 2014-08-18
13:17:22 UTC (rev 2487)
@@ -255,6 +255,9 @@
// to be unique).
String nonce = generateNonce(request);
+ // Ensure a session is created to have stickiness through loadbalancers
+ request.getSessionInternal(true);
+
setAuthenticateHeader(request, response, config, nonce,
principal != null && digestInfo.isNonceStale());
response.sendError(HttpServletResponse.SC_UNAUTHORIZED);
Property changes on:
branches/JBOSSWEB_7_2_2_FINAL_BZ-1130564/src/main/java/org/apache/catalina/authenticator/DigestAuthenticator.java
___________________________________________________________________
Added: svn:mergeinfo
+
/branches/7.4.x/src/main/java/org/apache/catalina/authenticator/DigestAuthenticator.java:2485
Show replies by date