continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From car...@apache.org
Subject svn commit: r440230 - /maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/navigations/DefaultTop.jsp
Date Tue, 05 Sep 2006 03:11:48 GMT
Author: carlos
Date: Mon Sep  4 20:11:48 2006
New Revision: 440230

URL: http://svn.apache.org/viewvc?view=rev&rev=440230
Log:
Add Acegi AnonymousProcessingFilter

Modified:
    maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/navigations/DefaultTop.jsp

Modified: maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/navigations/DefaultTop.jsp
URL: http://svn.apache.org/viewvc/maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/navigations/DefaultTop.jsp?view=diff&rev=440230&r1=440229&r2=440230
==============================================================================
--- maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/navigations/DefaultTop.jsp
(original)
+++ maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/navigations/DefaultTop.jsp
Mon Sep  4 20:11:48 2006
@@ -34,16 +34,16 @@
   </div>
 
   <div>
-      <b><font color="red">TODO</font></b>Welcome,
+      Welcome,
 
-      <c:if test="${not empty user}">
+      <authz:authorize ifNotGranted="ROLE_ANONYMOUS">
         <b><authz:authentication operation="username"/></b> -
         <a href="<c:url value='/logoff.jsp'/>">Logoff</a>
-      </c:if>
+      </authz:authorize>
 
-      <c:if test="${empty user}">
-        <a href="<ww:url value="login!default.action"/>">Login</a>
-      </c:if>
+      <authz:authorize ifAllGranted="ROLE_ANONYMOUS">
+        <a href="<ww:url value="/login.jsp"/>">Login</a>
+      </authz:authorize>
 
   </div>
 </div>



Mime
View raw message