Details
-
Bug
-
Resolution: Done
-
Major
-
1.0.0.CR9
-
None
-
None
Description
EJB3 Core Specification 17.3.2.1:
"If a method M of class S overrides a business method defined by a superclass of S, the method
permissions value of M is determined by the above rules as applied to class S."
As it stands, the following construct:
public class SecureServiceBeanBase implements SecureService
{
@RolesAllowed(SecureService.ROLES_BEAN_BASE)
public void someMethod()
}
@Stateless
@Local(SecureService.class)
public class SecureServiceBean extends SecureServiceBeanBase implements SecureService
{
@Override
@RolesAllowed(SecureService.ROLES_EJB)
public void someMethod()
{ return; }
}
...results in two method permissions for "someMethod".
Attachments
Issue Links
- is related to
-
JBMETA-207 NullPointerException during deployment of EJB3 methods with zero parameters
- Resolved