Commit Acegi Security, projet ok mais des bugs dans la securite (a voir)
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
<%@ include file="/WEB-INF/decorators/include.jsp"%>
|
||||
|
||||
<html>
|
||||
<head></head>
|
||||
<body>
|
||||
|
||||
<!-- User Information -->
|
||||
<div id="userlogin">
|
||||
|
||||
User Login
|
||||
</div><!-- User Information -->
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,3 +1,4 @@
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>
|
||||
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
|
||||
<%@ taglib prefix="authz" uri="http://acegisecurity.org/authz" %>
|
||||
|
||||
@@ -21,7 +21,9 @@
|
||||
<div id="logotexte"><img src="./images/logo-yacos-texte.png" alt="Logo Yacos Texte" /></div>
|
||||
|
||||
<!-- User Information -->
|
||||
<page:applyDecorator name="empty" page="/WEB-INF/decorators/headeruser.jsp" />
|
||||
<div id="userlogin">
|
||||
<page:applyDecorator name="empty" page="/WEB-INF/jsp/login.jsp" />
|
||||
</div>
|
||||
|
||||
<!-- headermenu -->
|
||||
<page:applyDecorator name="empty" page="/WEB-INF/decorators/headerchoose.jsp" />
|
||||
|
||||
@@ -5,8 +5,9 @@
|
||||
<body>
|
||||
|
||||
<div id="mainmenu">
|
||||
|
||||
<div id="mainmenubloc">
|
||||
<h4>Bloc 1</h4>
|
||||
<h4>Debug Menu</h4>
|
||||
<ul>
|
||||
<li><a href="<c:url value="listArticle.htm"/>"><fmt:message key="listarticle.title" /></a></li>
|
||||
<li><a href="<c:url value="submissionArticle.htm"/>"><fmt:message key="submission.title" /></a></li>
|
||||
@@ -16,15 +17,19 @@
|
||||
<li><a href="<c:url value="evaluation.htm"/>"><fmt:message key="evaluation.title" /></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<authz:authorize ifAllGranted="ROLE_AUTHOR">
|
||||
<div id="mainmenubloc">
|
||||
<h4>Bloc 2</h4>
|
||||
<h4>Author</h4>
|
||||
<ul>
|
||||
<li><a href="#">Lien 1</a></li>
|
||||
<li><a href="#">Lien 2</a></li>
|
||||
<li><a href="#">Lien 3</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</authz:authorize>
|
||||
|
||||
</div><!--mainmenu-->
|
||||
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user