Gestion d'authentification

This commit is contained in:
2025-09-29 17:52:54 +02:00
parent 1adcd90c37
commit 4634cfd4c2
8 changed files with 204 additions and 16 deletions

View File

@@ -13,21 +13,21 @@
<%@include file="jspf/menu.jspf" %>
<h1>Gestion de clients</h1>
<c:choose>
<c:when test="${!login}"><%@ include file="jspf/login.jspf" %></c:when>
<c:when test="${login}">
<c:when test="${!sessionScope.isAuthentified}"><%@ include file="jspf/login.jspf" %></c:when>
<c:when test="${sessionScope.isAuthentified}">
<p>Bienvenue ${param.pseudo} !</p>
<c:choose>
<c:when test="${!login}">
<c:when test="${!sessionScope.isAuthentified}">
<p>${authentification.getResultat()}</p>
</c:when>
<c:when test="${login}">
<c:when test="${sessionScope.isAuthentified}">
<p>${authentification.getResultat()}</p>
</c:when>
</c:choose>
</c:when>
</c:choose>
<p>
${login}
${sessionScope.isAuthentified}
</p>
</body>
</html>