Fix Authentication Handler Issue

Replaced the invalid value in the AuthenticationHandler file to support mutual SSL.
merge-requests/64/head
Milan Perera 6 years ago
parent 35071ed27b
commit 20a4fb7b01

@ -209,7 +209,7 @@ public class AuthenticationHandler extends AbstractHandler {
private String getDeviceType(String url) {
StringTokenizer parts = new StringTokenizer(url, "/");
while (parts.hasMoreElements()) {
if (parts.nextElement().equals("api")) {
if (parts.nextElement().equals("device-mgt")) {
return (String) parts.nextElement();
}
}

Loading…
Cancel
Save