08-18-2010 10:47 PM
<dialog name="disableUser" page="/jsp/users/disable-user.jsp" managed-bean="DisableUserDialog"
icon="/images/icons/action_user.gif" title-id="title_disable_user"
description-id="disable_user_info" error-message-id="error_wizard" />
<dialog name="enableUser" page="/jsp/users/enable-user.jsp" managed-bean="EnableUserDialog"
icon="/images/icons/action_user.gif" title-id="title_enable_user"
description-id="enable_user_info" error-message-id="error_wizard" />
Step2: find file users.jsp add row
<a:booleanEvaluator value="#{r.userName != 'admin'}">
<a:actionLink value="Disable" image="/images/icons/locked.gif" showLink="false" action="dialog:disableUser" actionListener="#{DisableUserDialog.setupUserAction}">
<f:param name="id" value="#{r.id}" />
</a:actionLink>
</a:booleanEvaluator>
<a:booleanEvaluator value="#{r.userName != 'admin'}">
<a:actionLink value="Enable" image="/images/icons/unlock.gif" showLink="false" action="dialog:enableUser" actionListener="#{EnableUserDialog.setupUserAction}">
<f:param name="id" value="#{r.id}" />
</a:actionLink>
</a:booleanEvaluator>
Step3: coppy file delete-user.jsp then rename disable-user.jsp & enable-user.jsp
authenticationService.deleteAuthentication(userName);
this.personService.deletePerson(userName);
add row in DisableUserDialog.java:
authenticationService.setAuthenticationEnabled(userName, false);
add row in EnableUserDialog.java:
authenticationService.setAuthenticationEnabled(userName, true);
Step5: build08-19-2010 05:01 AM
08-19-2010 11:22 PM
<property name="adminUsers">
<set>
<value>admin</value>
<value>backup1</value>
<value>backup2</value>
<value>backup3</value>
<value>backup4</value>
<value>backup5</value>
</set>
</property>
build source code againTags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.