Project: duracloud
Issue DURACLOUD-969: SyncTool fails to connect when using a password with special characters
When a DuraCloud user sets their password to a value which includes special characters they are able to log in to the DuraCloud UI just fine, but attempting to connect using the command line SyncTool results in a stacktrace like the following: Starting up the Sync Tool ...Exception in thread "main" java.lang.RuntimeException: Could not create connection to DuraCloud (test.duracloud.org:443/durastore). Cause: invalid credentials. Check your username and password and try again. at org.duracloud.client.util.StoreClientUtil.createContentStore(StoreClientUtil.java:42) at org.duracloud.sync.SyncTool.startSyncManager(SyncTool.java:154) at org.duracloud.sync.SyncTool.runSyncTool(SyncTool.java:294) at org.duracloud.sync.SyncToolInitializer.runSyncTool(SyncToolInitializer.java:34) at org.duracloud.sync.SyncToolInitializer.main(SyncToolInitializer.java:23) at org.duracloud.syncui.SyncSelector.main(SyncSelector.java:33) An example password which provokes this issue is: H89v$2oRlaD?5Qe\YT3j. This password works fine with the SyncTool if all special characters are removed (H89v2oRlaD5QeYT3j), but fails if any remain. Once fixed, this needs to be tested in the SyncTool UI, the Retrieval Tool, as well as the chunk, stitch, and sync-optimize tools.
Story points: 1