From core specs EJB 3.0 page 466. (Chapter: Security Mgmt)
If the bean class has superclasses, the following additional rules apply.
(1) � A method permissions value specified on a superclass S applies to the business methods defined by S.
(2) � A method permissions value may be specified on a business method M defined by class S to override for method M the method permissions value explicitly or implicitly specified on the class S.
(3)� 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.
Can anyone explain point 2 ?. I do understand from 2&3 that if in the child class the security for method has been overridden then the child class methods security configuration would be considered. This is explained by point 3 - but what of point 2?
Thanks!
Shivani
If the bean class has superclasses, the following additional rules apply.
(1) � A method permissions value specified on a superclass S applies to the business methods defined by S.
(2) � A method permissions value may be specified on a business method M defined by class S to override for method M the method permissions value explicitly or implicitly specified on the class S.
(3)� 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.
Can anyone explain point 2 ?. I do understand from 2&3 that if in the child class the security for method has been overridden then the child class methods security configuration would be considered. This is explained by point 3 - but what of point 2?
Thanks!
Shivani