[jboss-cvs] jboss-seam/examples/seamspace/src/org/jboss/seam/example/seamspace ...
Shane Bryzak
Shane_Bryzak at symantec.com
Sat Jan 27 10:08:56 EST 2007
User: sbryzak2
Date: 07/01/27 10:08:56
Modified: examples/seamspace/src/org/jboss/seam/example/seamspace
FriendAction.java
Log:
temporarily removed security check
Revision Changes Path
1.4 +3 -2 jboss-seam/examples/seamspace/src/org/jboss/seam/example/seamspace/FriendAction.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: FriendAction.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/seamspace/src/org/jboss/seam/example/seamspace/FriendAction.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- FriendAction.java 27 Jan 2007 14:40:03 -0000 1.3
+++ FriendAction.java 27 Jan 2007 15:08:56 -0000 1.4
@@ -45,8 +45,9 @@
.setParameter("memberName", name)
.getSingleResult();
- Contexts.getMethodContext().set("friends", member.getFriends());
- Identity.instance().checkRestriction("#{s:hasPermission('friendComment', 'create', friends)}");
+ // TODO this doesn't work - check with Gavin
+// Contexts.getMethodContext().set("friends", member.getFriends());
+// Identity.instance().checkRestriction("#{s:hasPermission('friendComment', 'create', friends)}");
friendComment = new FriendComment();
friendComment.setFriend(authenticatedMember);
More information about the jboss-cvs-commits
mailing list