ramackri opened a new pull request, #1098: URL: https://github.com/apache/ranger/pull/1098
## Summary - Back-ports [514f2a3](https://github.com/apache/ranger/commit/514f2a376be3ad9059d8a44ec823ed257b4e887b) / master PR #1080 (RANGER-5690) to `ranger-2.9`. - Adds `LoginAttemptTracker` with configurable max failed attempts, attempt window, and lockout duration for the UnixAuth service. - Hardens `PasswordValidator` with generic failure responses and lockout handling; adds socket timeout and optional TLS client certificate auth in `UnixAuthenticationService`. - Preserves `ranger-2.9`-specific behavior: `TLSv1.2` SSL algorithm and existing `UserSyncMetricsProducer` startup. ## Test plan - [x] `mvn test` in `unixauthservice` — 15 tests pass (`LoginAttemptTrackerTest`, `TestPasswordValidator`) - [ ] CI on `ranger-2.9` Made with [Cursor](https://cursor.com) -- 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]
