Files
yacos/YACOSWeb/WebContent/WEB-INF/jsp/main.jsp

21 lines
655 B
Plaintext

<%@ include file="/WEB-INF/decorators/include.jsp"%>
<%@ page import="org.acegisecurity.context.SecurityContextHolder" %>
<html>
<head></head>
<body>
${user}
${conference}
Page d'accueil à changer de place (controller dans system et non dans author)
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>
</body>
</html>