I found following in the seamspaces,Does this mean security applied to the 
@Factory?If it's true,is there any other action options?
security-rules.drl
rule CreateFriendRequest
  |   no-loop
  |   activation-group "permissions"
  | when
  |   check: PermissionCheck(name == "friendRequest", action == "create", 
granted == false)
  |   Principal(principalName : name)
  |   not MemberFriend(f : friend -> (f.getUsername().equals(principalName)))
  | then
  |   check.grant();
  | end
FriendAction.java
@Factory("friendRequest") @Begin
  |    public void createRequest()
  |    {
  |      .....
  |    }

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107643#4107643

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4107643
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to