[jboss-cvs] JBossAS SVN: r83857 - projects/ejb3/trunk/docs/tutorial/guide/en/modules.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Feb 4 10:55:55 EST 2009
Author: jaikiran
Date: 2009-02-04 10:55:55 -0500 (Wed, 04 Feb 2009)
New Revision: 83857
Modified:
projects/ejb3/trunk/docs/tutorial/guide/en/modules/security.xml
Log:
EJBTHREE-1717 Fixed in typo in the security tutorial guide
Modified: projects/ejb3/trunk/docs/tutorial/guide/en/modules/security.xml
===================================================================
--- projects/ejb3/trunk/docs/tutorial/guide/en/modules/security.xml 2009-02-04 15:55:06 UTC (rev 83856)
+++ projects/ejb3/trunk/docs/tutorial/guide/en/modules/security.xml 2009-02-04 15:55:55 UTC (rev 83857)
@@ -30,7 +30,7 @@
<sect5>
Security :
<para>
- Take a look at <listing>org.jboss.tutorial.security.bean.CalculatorBean</listing>. The <literal>@javax.annotation.security.RolesAllowed</literal>
+ Take a look at <literal>org.jboss.tutorial.security.bean.CalculatorBean</literal>. The <literal>@javax.annotation.security.RolesAllowed</literal>
and <literal>@javax.annotation.security.PermitAll</literal> are the EJB 3.0 security annotations. You can attach a method permission to any method
and define which roles are allowed to invoke on that method. The <literal>javax.ejb.RunAs</literal> annotation can also be applied at the class
level. There is also an additional JBoss specific annotation that you must supply at the class level <literal>@org.jboss.ejb3.annotation.SecurityDomain</literal>.
More information about the jboss-cvs-commits
mailing list