akash-gupta2813 opened a new pull request, #1307:
URL: https://github.com/apache/ranger/pull/1307

   ## What changes were proposed in this pull request?
   The change updates RangerKrbFilter.createAuthCookie() to format the cookie 
Expires date with Locale.US, instead of relying on the JVM default locale. This 
prevents JDK 9+/CLDR locales such as en_GB from generating invalid HTTP cookie 
dates like Sept instead of Sep.
   
   ASF Jira : https://issues.apache.org/jira/browse/RANGER-5836
   
   ## How was this patch tested?
   Added a new unit test for this particular change and also validated manually 
in a Kerberized Ranger setup in local docker with en_GB and September expiry: 
after the fix, hadoop.auth uses Sep and Java parses the cookie as valid.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to