Clone URL (Committers only):
https://cms.apache.org/redirect?new=anonymous;action=diff;uri=http://tomee.apache.org/security-annotations.mdtext

Daniel Kasmeroglu

Index: trunk/content/security-annotations.mdtext
===================================================================
--- trunk/content/security-annotations.mdtext   (revision 1628339)
+++ trunk/content/security-annotations.mdtext   (working copy)
@@ -1,4 +1,5 @@
 Title: Security Annotations
+
 This page shows the correct usage of the security related annotations:
 
  - javax.annotation.security.RolesAllowed
@@ -256,7 +257,7 @@
 
 
     @Stateful
-    @DecalredRoles({"committer"})
+    @DeclareRoles({"committer"})
     public class MyStatefulBean implements     MyBusinessInterface  {
     
         @PostConstruct

Reply via email to