Skip to content

Commit 4d5e4d8

Browse files
authored
Merge pull request #11 from GluuFederation/agama-lab-branch
Agama lab branch
2 parents 21e4016 + d0fcae7 commit 4d5e4d8

1 file changed

Lines changed: 0 additions & 23 deletions

File tree

lib/io/jans/util/URLParsing.java

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -27,27 +27,4 @@ public static String getRedirectUri() {
2727
}
2828
}
2929

30-
public static Map<String, String> extractParametersFromUrl(String urlString) {
31-
Map<String, String> parameters = new HashMap<>();
32-
33-
try {
34-
URL url = new URL(urlString);
35-
String query = url.getQuery();
36-
if (query != null) {
37-
String[] pairs = query.split("&");
38-
for (String pair : pairs) {
39-
String[] keyValue = pair.split("=");
40-
if (keyValue.length == 2) {
41-
String key = keyValue[0];
42-
String value = keyValue[1];
43-
parameters.put(key, value);
44-
}
45-
}
46-
}
47-
} catch (Exception e) {
48-
LOG.debug(e);
49-
e.printStackTrace();
50-
}
51-
return parameters;
52-
}
5330
}

0 commit comments

Comments
 (0)