From 4226755991d7e935f4d0314a33be02ff7ac1c271 Mon Sep 17 00:00:00 2001 From: Pahansith Date: Mon, 29 Apr 2019 22:44:46 +0530 Subject: [PATCH] Fix windows enrollment issue --- .../device/mgt/mobile/windows/impl/WindowsTokenServiceImpl.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows/src/main/java/org/wso2/carbon/device/mgt/mobile/windows/impl/WindowsTokenServiceImpl.java b/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows/src/main/java/org/wso2/carbon/device/mgt/mobile/windows/impl/WindowsTokenServiceImpl.java index ab81df77c7..eddbb4b1a7 100644 --- a/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows/src/main/java/org/wso2/carbon/device/mgt/mobile/windows/impl/WindowsTokenServiceImpl.java +++ b/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows/src/main/java/org/wso2/carbon/device/mgt/mobile/windows/impl/WindowsTokenServiceImpl.java @@ -3,6 +3,7 @@ package org.wso2.carbon.device.mgt.mobile.windows.impl; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.wso2.carbon.device.mgt.mobile.windows.impl.dao.MobileDeviceManagementDAOException; +import org.wso2.carbon.device.mgt.mobile.windows.impl.dao.MobileDeviceManagementDAOFactory; import org.wso2.carbon.device.mgt.mobile.windows.impl.dao.WindowsDAOFactory; import org.wso2.carbon.device.mgt.mobile.windows.impl.dao.WindowsEnrollmentTokenDAO; import org.wso2.carbon.device.mgt.mobile.windows.impl.dao.impl.WindowsEnrollmentTokenDAOImpl; @@ -15,6 +16,7 @@ public class WindowsTokenServiceImpl implements WindowsTokenService { public WindowsTokenServiceImpl() { windowsEnrollmentTokenDAO = new WindowsEnrollmentTokenDAOImpl(); + WindowsDAOFactory windowsDAOFactory = new WindowsDAOFactory(); } @Override