Hello,

I am looking for a way to manage commentt authorization rights and access to the user that all depant onscreen user's role,
in fact I use spring security jsf 2 and 3, the following is my code but when I run nothing appears or has changed:
*********************page.xhtlm******************
[]<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich"
xmlns:sec="http://www.springframework.org/security/tags">
<sec:authorize ifAnyGranted="ROLE_PARTICIPANT">
<rich:menuItem
onclick="document.location.href='Gest-utilisateur1.jsf'">
<h:outputLink value="Gest-utilisateur1.jsf">
<h:outputText value="Gestion des utilisateurs"></h:outputText>
</h:outputLink>
</rich:menuItem>
<rich:menuItem
onclick="document.location.href='GestConsult-groupe1.jsf'">
<h:outputLink value="Gest-groupe1.jsf">
<h:outputText value="Gestion des groupes"></h:outputText>
</h:outputLink>
</rich:menuItem>
</sec:authorize >
<sec:authorize access="hasRole('ROLE_ADMIN')">

<h:outputText value="XXXXXX"></h:outputText>
</sec:authorize>
[/CODE]
but nothing changes, please let me know every information that can help me and thank you