Bug 985398

Summary: 14.4.3.1. About EJB Security Annotations in Development Guide
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Ondrej Lukas <olukas>
Component: DocumentationAssignee: Russell Dickenson <rdickens>
Status: CLOSED CURRENTRELEASE QA Contact: Russell Dickenson <rdickens>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.1.1CC: misty, nchaudha
Target Milestone: GA   
Target Release: EAP 6.1.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Build: CSProcessor Builder Version 1.11 Build Name: 11864, Development Guide-6.1-4 Build Date: 12-07-2013 01:19:06 Topic ID: 4768-336471 [Specified]
Last Closed: 2013-09-16 20:25:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 957156    
Bug Blocks:    

Description Ondrej Lukas 2013-07-17 12:03:19 UTC
These mistakes were copied from https://bugzilla.redhat.com/show_bug.cgi?id=957156 because they occure in Development Guide too.

14.4.3.1. 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 14.4.2.1, “About EJB Method Permissions”.


And I would also remove following:

@SecurityDomain
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).

Comment 1 Misty Stanley-Jones 2013-07-25 03:37:04 UTC
Fixed in revision 481778. Will be set to ON_QA when the change is ready for review.

Comment 2 Misty Stanley-Jones 2013-08-30 02:50:47 UTC
Not yet updated.

Comment 5 Ondrej Lukas 2013-09-02 07:18:29 UTC
Verified on stage.