I have pages with structure pattern as such:
/department/home.xhtml
/distributor/home.xhtml
Now I want to secure this pages through pages.xml with this expression /**/* but it doesn't work. I've also tried /*/* .
<page view-id="/**/*"> <restrict /> </page>
<page view-id="/order/purchase/*"> <restrict /> </page>
<page view-id="/order/purchase/*"> <restrict>#{s:hasRole('admin')}</restrict> </page>
JIRA feature request if you like.