Start with a fully fresh portal (including database) and in the CMS service configuration use this as the policy: inside jboss-service.xml file
<policy> <criteria name="path" value="/"> <permission name="cms" action="manage"> <role name="Anonymous"/> </permission> </criteria> </policy>
This should give you access to functions in the CMS Admin tool as a "not logged in" (Anonymous) user.
Thank you for your answer... But it don't work...
I remove all tables, and I restart with your policy and now, anybody have access to the CMS... Neither admin and user and "Anonymous"... It's likely that "Anonymous" wasn't known as group !!!
I don't understand ! Have you any ideas ?
bahhh...You are correct. This is definitely a bug. If have created a corresponding JIRA to fix it.
Details are here: http://jira.jboss.com/jira/browse/JBPORTAL-1997
Unfortunately there is no workaround till this issue is resolved, so you will have to do your demo in non-Anonymous mode.
Thank you... I'll waiting !!