Commits

Anonymous committed dfd120f

Fix for XNAT-1514 Upload Applet Requests Authorization.

Comments (0)

Files changed (1)

src/main/java/org/nrg/io/dcm/ZipSeriesUploader.java

             
 
             
-            final StringBuilder unencoded = new StringBuilder();
-
-            unencoded.append("admin:cfokl");
-
-            final StringBuilder enc = new StringBuilder("Basic ");
-            enc.append(Base64.encode(unencoded.toString()));
-            c.setRequestProperty("Authorization", enc.toString());
+//            final StringBuilder unencoded = new StringBuilder();
+//
+//            unencoded.append("admin:cfokl");
+//
+//            final StringBuilder enc = new StringBuilder("Basic ");
+//            enc.append(Base64.encode(unencoded.toString()));
+//            c.setRequestProperty("Authorization", enc.toString());
             
             
             c.setRequestMethod("POST");