Red Hat Bugzilla – Bug 985398
126.96.36.199. About EJB Security Annotations in Development Guide
Last modified: 2014-08-14 11:23:11 EDT
These mistakes were copied from https://bugzilla.redhat.com/show_bug.cgi?id=957156 because they occure in Development Guide too.
188.8.131.52. About EJB Security Annotations
There is a duplicated entry:
@RolesAllowed, @PermitAll, @DenyAll
Specifies which method permissions are allowed. For information about method permissions, refer to Section 184.108.40.206, “About EJB Method Permissions”.
And I would also remove following:
Specifies the security domain to use for the EJB. If the EJB is annotated for authorization with @RolesAllowed, authorization will only apply if the EJB is annotated with a security domain.
1) It's a JBoss specific annotation
2) It's not true anymore (from EAP 6.1), the authorization only apply for such annotated beans (bz #901147).
Fixed in revision 481778. Will be set to ON_QA when the change is ready for review.
Not yet updated.
Verified on stage.