Fix Authentication Handler Issue

Replaced the invalid value in the AuthenticationHandler file to support mutual SSL.
revert-70aa11f8
Milan Perera 6 years ago
parent 35071ed27b
commit 20a4fb7b01

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

Loading…
Cancel
Save