menu suivant roles, mais passe pas apparemment
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user