Crowd 2 Plugin for Jenkins (GreatJIN build)
The discontinued Crowd 2 plugin, working again on current Jenkins.
Overview
crowd2-plugin, which lets Jenkins use Atlassian Crowd for authentication and authorization, stopped being distributed by the Jenkins project in December 2023. This fork starts from its last release, 4.2.0, and makes it work on current Jenkins.
The original is the MIT-licensed jenkinsci/crowd2-plugin; each change is tracked as a GreatJIN build number (greatjin.1 to 3).
Highlights
Current Jenkins
Adapted to the Jakarta EE switch in Jenkins 2.475. The original failed every page with HTTP 500 once SSO was enabled.
Login fix
Fixed the SSO filter invalidating the session on every anonymous request, which broke the CSRF crumb on login.
Extension mode
Cuts Crowd calls with static-file exclusion, validation caching and fewer per-request checks, keeps sessions and backs off on Crowd outages or 429s, and adds a cache admin page and inactive-user cleanup.