menu suivant roles, mais passe pas apparemment

This commit is contained in:
Nicolas Michard
2008-01-31 21:47:08 +00:00
parent 8d2711242f
commit ae370fafcd
3 changed files with 43 additions and 25 deletions

View File

@@ -10,11 +10,12 @@ Page d'accueil
Si conf active : page d'intro de la conf
si pas de conf active : page d'intro du site (visiteur)<br/><br/>
<b> UserName : </b><authz:authentication operation="username"></authz:authentication><br/>
Seulement si ROLE_AUTHOR :
<authz:authorize ifAllGranted="ROLE_AUTHOR">
<h1>Bienvenue: <%= SecurityContextHolder.getContext().getAuthentication().getName() %></h1>
</authz:authorize>
PASSE PAS POUR L'INSTANT=>
Utilisateur avec tous les r<>les (pour test plus vite) :<br/>
<b>Lancer le Filler.java dans YACOS Test pour avoir l'utilisateur admin</b><br />
LOGIN=<b>admin</b> PASS=<b>admin</b>
</body>
</html>