Skip to content
Snippets Groups Projects
Commit 1579ce73 authored by Manuel Spuhler's avatar Manuel Spuhler
Browse files

Authorization fix

parent ae196bd9
No related branches found
No related tags found
No related merge requests found
......@@ -106,7 +106,7 @@ public class SecurityApi {
public ResponseEntity getGalaxyConfiguration(){
String stringEncoded = Base64.getEncoder().encodeToString((galaxyUsername + ":" + galaxyPassword).getBytes());
JsonObject object = new JsonObject();
object.addProperty("authorization", "Basic " + stringEncoded);
object.addProperty("authorization", stringEncoded);
object.addProperty("context", galaxyContext);
return ResponseEntity.ok(gson.toJson(object));
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment