I just brought up a site with nukes and needed to protect a "members" area.  Here is 
what I did:
1.  I defined a group that all users should be a member of to be able to read the 
members only area.
2.  I created a page with id "/members/index.html and put some content on it
3.  Using the permissions module, I selected the HTML module and added read privs for 
the group that I defined in step 1.  The pattern I used was ".*/members/.*::"

You may also have to mess around with the priority of the rule.  I don't remember 
100%, but I may have also defined a lower priority rule that denies everybody access 
to that resource.  My intent there is that if they are in the group, they'll match and 
be granted access.  Otherwise, it will fall back to deny for everybody else.

Hope that helps,
gary.


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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843992


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to