[jboss-cvs] jboss-seam/src/main/org/jboss/seam ...
Shane Bryzak
Shane_Bryzak at symantec.com
Sun Dec 3 20:06:50 EST 2006
User: sbryzak2
Date: 06/12/03 20:06:50
Modified: src/main/org/jboss/seam Component.java
Log:
bye bye old security design
Revision Changes Path
1.215 +11 -11 jboss-seam/src/main/org/jboss/seam/Component.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Component.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/Component.java,v
retrieving revision 1.214
retrieving revision 1.215
diff -u -b -r1.214 -r1.215
--- Component.java 30 Nov 2006 02:09:10 -0000 1.214
+++ Component.java 4 Dec 2006 01:06:50 -0000 1.215
@@ -75,7 +75,7 @@
import org.jboss.seam.annotations.Transactional;
import org.jboss.seam.annotations.Unwrap;
import org.jboss.seam.annotations.datamodel.DataModel;
-import org.jboss.seam.annotations.security.Secure;
+import org.jboss.seam.annotations.security.Restrict;
import org.jboss.seam.contexts.Context;
import org.jboss.seam.contexts.Contexts;
import org.jboss.seam.core.Events;
@@ -121,7 +121,7 @@
*
* @author <a href="mailto:theute at jboss.org">Thomas Heute</a>
* @author Gavin King
- * @version $Revision: 1.214 $
+ * @version $Revision: 1.215 $
*/
@Scope(ScopeType.APPLICATION)
@SuppressWarnings("deprecation")
@@ -777,7 +777,7 @@
{
addInterceptor( new Interceptor( new ManagedEntityIdentityInterceptor(), this ) );
}
- if ( beanClassHasAnnotation(Secure.class) )
+ if ( beanClassHasAnnotation(Restrict.class) )
{
addInterceptor( new Interceptor( new SecurityInterceptor(), this ) );
}
More information about the jboss-cvs-commits
mailing list