I'm trying to understand the seamspace Drools rules and I'm not sure where some of the items are being put into WorkingMemory. Specifically Member and MemberAccount.
rule CreateFriendRequest no-loop activation-group "permissions" when acct: MemberAccount() member: Member() //friends not contains acct.member) check: PermissionCheck(target == member, action == "createFriendRequest", granted == false) then check.grant(); end
Where are these being added into WorkingMemory? Also why is there an activation-group? AFAICT Seam isn't making use of the activation groups with it uses Drools. Thanks!
I assume they are being asserted into to the working memory used by the security component at authentication time.