3 ~ Licensed under the Apache License, Version 2.0 (the "License");
4 ~ you may not use this file except in compliance with the License.
5 ~ You may obtain a copy of the License at
7 ~ http://www.apache.org/licenses/LICENSE-2.0
9 ~ Unless required by applicable law or agreed to in writing, software
10 ~ distributed under the License is distributed on an "AS IS" BASIS,
11 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 ~ See the License for the specific language governing permissions and
13 ~ limitations under the License.
16 <%@ taglib prefix="s" uri="/struts-tags"%>
17 <%@ taglib prefix="redback" uri="/redback/taglib-1.0"%>
18 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
21 <s:i18n name="org.apache.archiva.redback.struts2.default">
23 <title><s:text name="user.edit.confirm.page.title"/></title>
28 <%@ include file="/WEB-INF/jsp/redback/include/formValidationResults.jsp" %>
30 <h2><s:text name="user.edit.confirm.section.title"/></h2>
32 <redback:ifAuthorized permission="user-management-user-edit" resource="${user.username}">
34 <s:form action="useredit" namespace="/security" theme="xhtml"
35 id="userEditForm" method="post" cssClass="security userEdit">
36 <redback:isNotReadOnlyUserManager>
38 You must re-confirm your password to proceed with the request to
39 <strong>edit the account information</strong> for user: <strong>${user.username}</strong>
42 <s:password label="%{getText('user.admin.password')}" name="userAdminPassword" size="20" required="true"/>
43 <s:hidden label="Username" name="username" />
44 <s:hidden name="user.username" value="%{user.username}"/>
45 <s:hidden name="user.fullName" value="%{user.fullName}"/>
46 <s:hidden name="user.email" value="%{user.email}"/>
47 <s:hidden name="user.password" value="%{user.password}"/>
48 <s:hidden name="user.confirmPassword" value="%{user.confirmPassword}"/>
49 <s:hidden name="user.timestampAccountCreation" value="%{user.timestampAccountCreation}"/>
50 <s:hidden name="user.timestampLastLogin" value="%{user.timestampLastLogin}"/>
51 <s:hidden name="user.timestampLastPasswordChange" value="%{user.timestampLastPasswordChange}"/>
52 <s:hidden name="user.locked" value="%{user.locked}"/>
53 <s:hidden name="user.passwordChangeRequired" value="%{user.passwordChangeRequired}"/>
54 <s:hidden name="method:confirmAdminPassword" value="Submit"/>
55 <s:submit id="confirmUserAdminSubmit" value="%{getText('submit')}" method="confirmAdminPassword" />
56 <s:submit id="cancelUserAdminSubmit" value="%{getText('cancel')}" method="cancel" />
57 </redback:isNotReadOnlyUserManager>
59 </redback:ifAuthorized>