diff options
| author | Shireesh Anjal <shireesh@gluster.com> | 2011-06-08 16:47:11 +0530 |
|---|---|---|
| committer | Shireesh Anjal <shireesh@gluster.com> | 2011-06-08 16:47:11 +0530 |
| commit | c604f66c85de5fcda8ce36be22b34be06ad34704 (patch) | |
| tree | 5f11e6983f313b68658687e5d71ade380fd9543f /src/com.gluster.storage.management.client | |
| parent | 76cb93060be51514c9fd1d54d68311eba448ad87 (diff) | |
add/remove servers
Diffstat (limited to 'src/com.gluster.storage.management.client')
| -rw-r--r-- | src/com.gluster.storage.management.client/src/com/gluster/storage/management/client/UsersClient.java | 3 |
1 files changed, 3 insertions, 0 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 25ba6b10..3d2310ac 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 @@ -58,6 +58,9 @@ public class UsersClient extends AbstractClient { throw e; } } catch (Exception e) { + // authentication failed. clear security token. + setSecurityToken(null); + Throwable cause = e.getCause(); if(cause != null && cause instanceof ConnectException) { return new Status(Status.STATUS_CODE_FAILURE, "Couldn't connect to Gluster Management Gateway!"); |
