import org.argeo.eclipse.ui.ColumnDefinition;
import org.argeo.eclipse.ui.EclipseUiUtils;
import org.argeo.eclipse.ui.parts.LdifUsersTable;
import org.argeo.eclipse.ui.ColumnDefinition;
import org.argeo.eclipse.ui.EclipseUiUtils;
import org.argeo.eclipse.ui.parts.LdifUsersTable;
if (CMD_UPDATE_PASSWORD.equals(chooseCommandPage.getCommand())) {
char[] newValue = chooseCommandPage.getPwdValue();
if (newValue == null)
if (CMD_UPDATE_PASSWORD.equals(chooseCommandPage.getCommand())) {
char[] newValue = chooseCommandPage.getPwdValue();
if (newValue == null)
"Password cannot be null or an empty string");
ResetPassword job = new ResetPassword(userAdminWrapper,
userListPage.getSelectedUsers(), newValue);
"Password cannot be null or an empty string");
ResetPassword job = new ResetPassword(userAdminWrapper,
userListPage.getSelectedUsers(), newValue);
"Cannot perform batch update on users", e);
} finally {
UserTransaction ut = userAdminWrapper.getUserTransaction();
"Cannot perform batch update on users", e);
} finally {
UserTransaction ut = userAdminWrapper.getUserTransaction();
// "Cannot perform batch update on users", e);
// } finally {
// UserTransaction ut = userAdminWrapper.getUserTransaction();
// "Cannot perform batch update on users", e);
// } finally {
// UserTransaction ut = userAdminWrapper.getUserTransaction();
columnDefs.add(new ColumnDefinition(new UserNameLP(),
"Distinguished Name", 300));
columnDefs.add(new ColumnDefinition(new UserNameLP(),
"Distinguished Name", 300));
private static final long serialVersionUID = 5080437561015853124L;
private final String[] knownProps = { LdifName.uid.name(),
LdifName.dn.name(), LdifName.cn.name(),
private static final long serialVersionUID = 5080437561015853124L;
private final String[] knownProps = { LdifName.uid.name(),
LdifName.dn.name(), LdifName.cn.name(),
"Unable to get roles with filter: " + filter, e);
}
List<User> users = new ArrayList<User>();
for (Role role : roles)
// Prevent current logged in user to perform batch on
// himself
"Unable to get roles with filter: " + filter, e);
}
List<User> users = new ArrayList<User>();
for (Role role : roles)
// Prevent current logged in user to perform batch on
// himself
columnDefs.add(new ColumnDefinition(new DomainNameLP(), "Domain",
200));
// Only show technical DN to admin
columnDefs.add(new ColumnDefinition(new DomainNameLP(), "Domain",
200));
// Only show technical DN to admin
columnDefs.add(new ColumnDefinition(new UserNameLP(),
"Distinguished Name", 300));
userTableCmp = new ChosenUsersTableViewer(pageCmp, SWT.MULTI
columnDefs.add(new ColumnDefinition(new UserNameLP(),
"Distinguished Name", 300));
userTableCmp = new ChosenUsersTableViewer(pageCmp, SWT.MULTI