ate 2004/11/23 13:14:13 Modified: applications/security/src/webapp/WEB-INF/security/login login.jsp Added: portal/src/webapp/WEB-INF/pages my-account.psml Removed: portal/src/webapp/WEB-INF/pages/Administrative change-password.psml Log: Fixed access for all users to Change Password Portlet by moving it into a new /portal/my-account.psml TODO: This page should be restricted to logged on users only, but I don't know how to configure that yet Revision Changes Path 1.8 +1 -1 jakarta-jetspeed-2/applications/security/src/webapp/WEB-INF/security/login/login.jsp Index: login.jsp =================================================================== RCS file: /home/cvs/jakarta-jetspeed-2/applications/security/src/webapp/WEB-INF/security/login/login.jsp,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- login.jsp 16 Nov 2004 23:09:30 -0000 1.7 +++ login.jsp 23 Nov 2004 21:14:12 -0000 1.8 @@ -26,7 +26,7 @@ <fmt:message key="login.label.Welcome"><fmt:param><c:out value="${pageContext.request.userPrincipal.name}"/></fmt:param></fmt:message><br> <a href='<c:url value="/login/logout"/>'><fmt:message key="login.label.Logout"/></a> <br> - <a href='<c:url value="/portal/Administrative/change-password.psml"/>'><fmt:message key="login.label.ChangePassword"/></a> + <a href='<c:url value="/portal/my-account.psml"/>'><fmt:message key="login.label.ChangePassword"/></a> </c:when> <c:otherwise> <%-- backdoor access to the portal session to get the login error count --%> 1.1 jakarta-jetspeed-2/portal/src/webapp/WEB-INF/pages/my-account.psml Index: my-account.psml =================================================================== <!-- Copyright 2004 The Apache Software Foundation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <page id="my-account"> <defaults skin="orange" layout-decorator="tigris" portlet-decorator="tigris" /> <title>My Account</title> <fragment id="cpwd-1" type="layout" name="jetspeed::VelocityTwoColumns"> <fragment id="cpwd-2" type="portlet" name="security::ChangePasswordPortlet"> <property layout="TwoColumns" name="row" value="0" /> <property layout="TwoColumns" name="column" value="0" /> </fragment> </fragment> <!-- allow all users to view TODO: restrict to logged on users only (but how?) --> <security-constraints> <security-constraint> <users>*</users> <permissions>view</permissions> </security-constraint> </security-constraints> </page>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]