[
https://issues.apache.org/jira/browse/TOMEE-4730?focusedWorklogId=1047246&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-1047246
]
ASF GitHub Bot logged work on TOMEE-4730:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 13/Oct/26 12:56
Start Date: 13/Oct/26 12:56
Worklog Time Spent: 10m
Work Description: rzo1 merged PR #3081:
URL: https://github.com/apache/tomee/pull/3081
Issue Time Tracking
-------------------
Worklog Id: (was: 1047246)
Time Spent: 20m (was: 10m)
> MP-JWT ignores class-level security annotations of a resource superclass
> ------------------------------------------------------------------------
>
> Key: TOMEE-4730
> URL: https://issues.apache.org/jira/browse/TOMEE-4730
> Project: TomEE
> Issue Type: Bug
> Reporter: Richard Zowalla
> Assignee: Richard Zowalla
> Priority: Major
> Fix For: 11.0.0, 10.3.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> MPJWTSecurityAnnotationsInterceptorsFeature only reads @RolesAllowed,
> @PermitAll and @DenyAll from ResourceInfo.getResourceClass\(\). These
> annotations are not @Inherited, so when a base resource class carries a
> class\-level constraint and a subclass without its own annotation exposes a
> method inherited from that base, the base class constraint is not applied and
> the endpoint is unprotected. Class\-level annotations of the class that
> declares the method should be taken into account, following the Jakarta
> Annotations inheritance rules.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)