mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
Corrected spelling mistakes of policy component
This commit is contained in:
commit
27752fe35e
@ -161,7 +161,6 @@ public class AndroidDeviceManager implements DeviceManager {
|
|||||||
}
|
}
|
||||||
String msg =
|
String msg =
|
||||||
"Error while enrolling the Android device : " + device.getDeviceIdentifier();
|
"Error while enrolling the Android device : " + device.getDeviceIdentifier();
|
||||||
log.error(msg, e);
|
|
||||||
throw new DeviceManagementException(msg, e);
|
throw new DeviceManagementException(msg, e);
|
||||||
}
|
}
|
||||||
return status;
|
return status;
|
||||||
@ -188,7 +187,6 @@ public class AndroidDeviceManager implements DeviceManager {
|
|||||||
}
|
}
|
||||||
String msg = "Error while updating the enrollment of the Android device : " +
|
String msg = "Error while updating the enrollment of the Android device : " +
|
||||||
device.getDeviceIdentifier();
|
device.getDeviceIdentifier();
|
||||||
log.error(msg, e);
|
|
||||||
throw new DeviceManagementException(msg, e);
|
throw new DeviceManagementException(msg, e);
|
||||||
}
|
}
|
||||||
return status;
|
return status;
|
||||||
@ -213,7 +211,6 @@ public class AndroidDeviceManager implements DeviceManager {
|
|||||||
log.warn(msg, mobileDAOEx);
|
log.warn(msg, mobileDAOEx);
|
||||||
}
|
}
|
||||||
String msg = "Error while removing the Android device : " + deviceId.getId();
|
String msg = "Error while removing the Android device : " + deviceId.getId();
|
||||||
log.error(msg, e);
|
|
||||||
throw new DeviceManagementException(msg, e);
|
throw new DeviceManagementException(msg, e);
|
||||||
}
|
}
|
||||||
return status;
|
return status;
|
||||||
@ -234,7 +231,6 @@ public class AndroidDeviceManager implements DeviceManager {
|
|||||||
} catch (MobileDeviceManagementDAOException e) {
|
} catch (MobileDeviceManagementDAOException e) {
|
||||||
String msg = "Error while checking the enrollment status of Android device : " +
|
String msg = "Error while checking the enrollment status of Android device : " +
|
||||||
deviceId.getId();
|
deviceId.getId();
|
||||||
log.error(msg, e);
|
|
||||||
throw new DeviceManagementException(msg, e);
|
throw new DeviceManagementException(msg, e);
|
||||||
}
|
}
|
||||||
return isEnrolled;
|
return isEnrolled;
|
||||||
|
|||||||
@ -72,7 +72,7 @@ public class AndroidPolicyMonitoringService implements PolicyMonitoringService {
|
|||||||
complianceData.setComplianceFeatures(complianceFeatures);
|
complianceData.setComplianceFeatures(complianceFeatures);
|
||||||
|
|
||||||
for (ComplianceFeature cf : complianceFeatures) {
|
for (ComplianceFeature cf : complianceFeatures) {
|
||||||
if (!cf.isCompliance()) {
|
if (!cf.isCompliant()) {
|
||||||
complianceData.setStatus(false);
|
complianceData.setStatus(false);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -15,21 +15,21 @@ CREATE TABLE IF NOT EXISTS `IOS_FEATURE` (
|
|||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `IOS_DEVICE` (
|
CREATE TABLE IF NOT EXISTS `IOS_DEVICE` (
|
||||||
`MOBILE_DEVICE_ID` VARCHAR(45) NOT NULL,
|
`MOBILE_DEVICE_ID` VARCHAR(45) NOT NULL,
|
||||||
`APNS_PUSH_TOKEN` VARCHAR(100) NULL DEFAULT NULL,
|
`APNS_PUSH_TOKEN` VARCHAR(100) DEFAULT NULL,
|
||||||
`MAGIC_TOKEN` VARCHAR(100) NULL DEFAULT NULL,
|
`MAGIC_TOKEN` VARCHAR(100) DEFAULT NULL,
|
||||||
`MDM_TOKEN` VARCHAR(100) NULL DEFAULT NULL,
|
`MDM_TOKEN` VARCHAR(100) DEFAULT NULL,
|
||||||
`UNLOCK_TOKEN` VARCHAR(2000) NULL DEFAULT NULL,
|
`UNLOCK_TOKEN` VARCHAR(2000) DEFAULT NULL,
|
||||||
`CHALLENGE_TOKEN` VARCHAR(45) NULL DEFAULT NULL,
|
`CHALLENGE_TOKEN` VARCHAR(45) DEFAULT NULL,
|
||||||
`DEVICE_INFO` VARCHAR(8000) NULL DEFAULT NULL,
|
`DEVICE_INFO` VARCHAR(8000) DEFAULT NULL,
|
||||||
`SERIAL` VARCHAR(45) NULL DEFAULT NULL,
|
`SERIAL` VARCHAR(45) DEFAULT NULL,
|
||||||
`PRODUCT` VARCHAR(45) NULL DEFAULT NULL,
|
`PRODUCT` VARCHAR(45) DEFAULT NULL,
|
||||||
`IMEI` VARCHAR(45) NULL DEFAULT NULL,
|
`IMEI` VARCHAR(45) DEFAULT NULL,
|
||||||
`VERSION` VARCHAR(45) NULL DEFAULT NULL,
|
`VERSION` VARCHAR(45) DEFAULT NULL,
|
||||||
`MAC_ADDRESS` VARCHAR(45) NULL DEFAULT NULL,
|
`MAC_ADDRESS` VARCHAR(45) DEFAULT NULL,
|
||||||
`DEVICE_NAME` VARCHAR(100) NULL DEFAULT NULL,
|
`DEVICE_NAME` VARCHAR(100) DEFAULT NULL,
|
||||||
`ICCID` VARCHAR(45) NULL DEFAULT NULL,
|
`ICCID` VARCHAR(45) DEFAULT NULL,
|
||||||
`LATITUDE` VARCHAR(45) NULL DEFAULT NULL,
|
`LATITUDE` VARCHAR(45) DEFAULT NULL,
|
||||||
`LONGITUDE` VARCHAR(45) NULL DEFAULT NULL,
|
`LONGITUDE` VARCHAR(45) DEFAULT NULL,
|
||||||
PRIMARY KEY (`MOBILE_DEVICE_ID`) );
|
PRIMARY KEY (`MOBILE_DEVICE_ID`) );
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user