an URL contained one slash too many
This commit is contained in:
@@ -127,7 +127,7 @@ public class KVVLogin extends HTTPService {
|
|||||||
private void step5(String SAMLResponse, final NetworkCallback<HashMap<String, String>> callback, final NetworkErrorCallback errorCallback) {
|
private void step5(String SAMLResponse, final NetworkCallback<HashMap<String, String>> callback, final NetworkErrorCallback errorCallback) {
|
||||||
HashMap<String, String> body = new HashMap<>();
|
HashMap<String, String> body = new HashMap<>();
|
||||||
body.put("SAMLResponse", SAMLResponse);
|
body.put("SAMLResponse", SAMLResponse);
|
||||||
post(KVV_SERVER_URL+"/Shibboleth.sso/SAML2/POST", null, body, response -> {
|
post(KVV_SERVER_URL+"Shibboleth.sso/SAML2/POST", null, body, response -> {
|
||||||
String cookies = response.getHeaders().get("Set-Cookie");
|
String cookies = response.getHeaders().get("Set-Cookie");
|
||||||
if (cookies ==null) {
|
if (cookies ==null) {
|
||||||
errorCallback.onError(new NetworkError(100151, -1, "Error on starting KVV session!"));
|
errorCallback.onError(new NetworkError(100151, -1, "Error on starting KVV session!"));
|
||||||
|
|||||||
Reference in New Issue
Block a user