You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "rzo1 (via GitHub)" <gi...@apache.org> on 2026/10/07 18:38:17 UTC

[PR] Resolve MP-JWT security constraints per resource class (tomee)

rzo1 opened a new pull request, #3068:
URL: https://github.com/apache/tomee/pull/3068

   The security annotations feature kept @RolesAllowed/@PermitAll/@DenyAll in shared maps keyed by Method, so resource classes inheriting the same method merged each other's constraints. Each (resource class, method) pair now gets its own immutable constraint, with method-level annotations overriding class-level ones. An empty @RolesAllowed now denies all callers instead of skipping the check. Covered by MPJWTSecurityAnnotationsInterceptorsFeatureTest.


-- 
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: commits-unsubscribe@tomee.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Resolve MP-JWT security constraints per resource class (tomee)

Posted by "rzo1 (via GitHub)" <gi...@apache.org>.
rzo1 merged PR #3068:
URL: https://github.com/apache/tomee/pull/3068


-- 
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: commits-unsubscribe@tomee.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org