-
Bug
-
Resolution: Won't Do
-
Major
-
8.0.0.Final
-
None
Excerpt from the forum reference:
Basically I have an EJB which derives from a base class. At the EJB itself there is an class-level @RolesAllowed annotation. With this annotation all methods which are implemented directly in the class can be accessed when the caller has the appropriate role. But when he tries to call a method which has been implemented in the base class, access is denied.
Reading the EJB 3.2 Spec which says
Specifying the RolesAllowed or PermitAll or DenyAll annotation on the bean class means that it applies to all applicable business methods of the class.
I would suggest that this should work. Although this worked with JBoss AS 5.
- is related to
-
WFLY-3837 Add tests for @RolesAllowed use if bean class has superclasses
- Closed
- relates to
-
JBEAP-24928 [GSS](7.4.z) Annotations not working on class that extends abstract class
- Closed