package org.argeo.security.ui.commands;
-import org.argeo.security.ArgeoSecurityService;
+import org.argeo.security.CurrentUserService;
import org.argeo.security.ui.dialogs.ChangePasswordDialog;
import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
/** Opens the change password dialog. */
public class OpenChangePasswordDialog extends AbstractHandler {
- private ArgeoSecurityService securityService;
+ private CurrentUserService currentUserService;
public Object execute(ExecutionEvent event) throws ExecutionException {
ChangePasswordDialog dialog = new ChangePasswordDialog(
- HandlerUtil.getActiveShell(event), securityService);
+ HandlerUtil.getActiveShell(event), currentUserService);
dialog.open();
return null;
}
- public void setSecurityService(ArgeoSecurityService securityService) {
- this.securityService = securityService;
+ public void setCurrentUserService(CurrentUserService currentUserService) {
+ this.currentUserService = currentUserService;
}
}