The purpose here is to add a new JAAS LoginModule allowing authentication based on JWT. We can use Nimbus JWT dependency to deal with that. The idea is: 1. Introduce a new `OAuth2LoginModule` to be used by the `JaasAuthenticationPlugin`, similar to the existing `PropertiesLoginModule` or `LDAPLoginModule`. 2. Validates tokens locally, to avoid systematic call to the IdP on every connection. 3. The OAuth2 configuration (issuer, claim, etc) is defined in the `conf/login.config` as other `LoginModules`. 4. The user pass the token as "password"
Activity
feat(apache#1737): Add OAuth2 JWT authentication support via JAAS Log…
feat(apache#1737): Add nimbus-jose-jwt dependency to assembly distrib…
feat(apache#1737): Move OAuth2 LoginModule to dedicated activemq-oaut…
feat(apache#1737): Add OAuth2 JWT authentication support via JAAS Log…
feat(apache#1737): Add nimbus-jose-jwt dependency to assembly distrib…
feat(apache#1737): Move OAuth2 LoginModule to dedicated activemq-oaut…
github-actions commentedon May 10, 2026
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment if you think it's still relevant.
11 remaining items
feat(apache#1737): Add processor cache, trim groups whitespace, inclu…
feat(apache#1737): Harden OAuth2 login module (https-only JWKS, asymm…
feat(apache#1737): Rename module to activemq-jaas-oauth2, add network…
feat(apache#1737): Move OAuth2 sample JAAS config to examples/conf/lo…
feat(apache#1737): Add OAuth2 JWT authentication support via JAAS Log…
feat(apache#1737): Add nimbus-jose-jwt dependency to assembly distrib…
feat(apache#1737): Move OAuth2 LoginModule to dedicated activemq-oaut…
feat(apache#1737): Add processor cache, trim groups whitespace, inclu…
feat(apache#1737): Harden OAuth2 login module (https-only JWKS, asymm…
feat(apache#1737): Rename module to activemq-jaas-oauth2, add network…
feat(apache#1737): Move OAuth2 sample JAAS config to examples/conf/lo…
feat(apache#1737): Flag OAuth2 login module as experimental
feat(#1737): Add OAuth2 JWT authentication support via JAAS LoginModu…