diff options
| author | Selvasundaram <selvam@gluster.com> | 2011-07-18 22:37:18 +0530 |
|---|---|---|
| committer | Selvasundaram <selvam@gluster.com> | 2011-07-19 15:17:26 +0530 |
| commit | 640b11b99f65de55d68750b6139583e5a12e611c (patch) | |
| tree | 7b5f668b03ccc98e9bfe3aa7545572891807f6bf /src | |
| parent | 8d43b24c4ce407364af3ad65b7d5c82dbb9b79fb (diff) | |
Removing the background flash image from change password wizard and
New password authentication failed bug fix
Diffstat (limited to 'src')
2 files changed, 3 insertions, 2 deletions
diff --git a/src/com.gluster.storage.management.client/src/com/gluster/storage/management/client/UsersClient.java b/src/com.gluster.storage.management.client/src/com/gluster/storage/management/client/UsersClient.java index 4c94438b..c0590d5f 100644 --- a/src/com.gluster.storage.management.client/src/com/gluster/storage/management/client/UsersClient.java +++ b/src/com.gluster.storage.management.client/src/com/gluster/storage/management/client/UsersClient.java @@ -24,6 +24,7 @@ import com.gluster.storage.management.core.model.Status; import com.sun.jersey.api.representation.Form; import com.sun.jersey.core.util.Base64; + public class UsersClient extends AbstractClient { private static final String RESOURCE_NAME = "users"; private static final String FORM_PARAM_OLD_PASSWORD = "oldpassword"; diff --git a/src/com.gluster.storage.management.gui/src/com/gluster/storage/management/gui/dialogs/LoginDialog.java b/src/com.gluster.storage.management.gui/src/com/gluster/storage/management/gui/dialogs/LoginDialog.java index 62159c38..6cb15d6a 100644 --- a/src/com.gluster.storage.management.gui/src/com/gluster/storage/management/gui/dialogs/LoginDialog.java +++ b/src/com.gluster.storage.management.gui/src/com/gluster/storage/management/gui/dialogs/LoginDialog.java @@ -208,8 +208,8 @@ public class LoginDialog extends Dialog { // authentication successful. close the login dialog and open the next one. close(); - // If the password is default, Let user to change the password + // If the password is default, Let user to change the password if (password.equalsIgnoreCase(CoreConstants.DEFAULT_PASSWORD)) { String oldSecurityTokeString = GlusterDataModelManager.getInstance().getSecurityToken(); ChangePasswordDialog dialog = new ChangePasswordDialog(getShell()); @@ -223,7 +223,7 @@ public class LoginDialog extends Dialog { } } - ClustersClient clustersClient = new ClustersClient(GlusterDataModelManager.getInstance().getSecurityToken()); + ClustersClient clustersClient = new ClustersClient(); IPreferenceStore preferenceStore = Activator.getDefault().getPreferenceStore(); boolean showClusterSelectionDialog = preferenceStore.getBoolean(PreferenceConstants.P_SHOW_CLUSTER_SELECTION_DIALOG); |
