mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Fix Authentication Handler Issue
Replaced the invalid value in the AuthenticationHandler file to support mutual SSL.
This commit is contained in:
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…
Reference in New Issue
Block a user