|
|
@ -19,7 +19,6 @@ package io.entgra.device.mgt.core.device.mgt.api.jaxrs.service.impl;
|
|
|
|
|
|
|
|
|
|
|
|
import com.google.gson.JsonArray;
|
|
|
|
import com.google.gson.JsonArray;
|
|
|
|
import com.google.gson.JsonObject;
|
|
|
|
import com.google.gson.JsonObject;
|
|
|
|
import io.entgra.device.mgt.core.device.mgt.api.jaxrs.beans.*;
|
|
|
|
|
|
|
|
import org.apache.commons.lang.StringUtils;
|
|
|
|
import org.apache.commons.lang.StringUtils;
|
|
|
|
import org.apache.commons.logging.Log;
|
|
|
|
import org.apache.commons.logging.Log;
|
|
|
|
import org.apache.commons.logging.LogFactory;
|
|
|
|
import org.apache.commons.logging.LogFactory;
|
|
|
@ -38,6 +37,19 @@ import io.entgra.device.mgt.core.device.mgt.common.spi.OTPManagementService;
|
|
|
|
import io.entgra.device.mgt.core.device.mgt.core.DeviceManagementConstants;
|
|
|
|
import io.entgra.device.mgt.core.device.mgt.core.DeviceManagementConstants;
|
|
|
|
import io.entgra.device.mgt.core.device.mgt.core.service.DeviceManagementProviderService;
|
|
|
|
import io.entgra.device.mgt.core.device.mgt.core.service.DeviceManagementProviderService;
|
|
|
|
import io.entgra.device.mgt.core.device.mgt.core.service.EmailMetaInfo;
|
|
|
|
import io.entgra.device.mgt.core.device.mgt.core.service.EmailMetaInfo;
|
|
|
|
|
|
|
|
import io.entgra.device.mgt.core.device.mgt.api.jaxrs.beans.ActivityList;
|
|
|
|
|
|
|
|
import io.entgra.device.mgt.core.device.mgt.api.jaxrs.beans.BasicUserInfo;
|
|
|
|
|
|
|
|
import io.entgra.device.mgt.core.device.mgt.api.jaxrs.beans.BasicUserInfoList;
|
|
|
|
|
|
|
|
import io.entgra.device.mgt.core.device.mgt.api.jaxrs.beans.UserInfoList;
|
|
|
|
|
|
|
|
import io.entgra.device.mgt.core.device.mgt.api.jaxrs.beans.BasicUserInfoWrapper;
|
|
|
|
|
|
|
|
import io.entgra.device.mgt.core.device.mgt.api.jaxrs.beans.Credential;
|
|
|
|
|
|
|
|
import io.entgra.device.mgt.core.device.mgt.api.jaxrs.beans.EnrollmentInvitation;
|
|
|
|
|
|
|
|
import io.entgra.device.mgt.core.device.mgt.api.jaxrs.beans.ErrorResponse;
|
|
|
|
|
|
|
|
import io.entgra.device.mgt.core.device.mgt.api.jaxrs.beans.OldPasswordResetWrapper;
|
|
|
|
|
|
|
|
import io.entgra.device.mgt.core.device.mgt.api.jaxrs.beans.PermissionList;
|
|
|
|
|
|
|
|
import io.entgra.device.mgt.core.device.mgt.api.jaxrs.beans.RoleList;
|
|
|
|
|
|
|
|
import io.entgra.device.mgt.core.device.mgt.api.jaxrs.beans.UserInfo;
|
|
|
|
|
|
|
|
import io.entgra.device.mgt.core.device.mgt.api.jaxrs.beans.UserStoreList;
|
|
|
|
import io.entgra.device.mgt.core.device.mgt.api.jaxrs.exception.BadRequestException;
|
|
|
|
import io.entgra.device.mgt.core.device.mgt.api.jaxrs.exception.BadRequestException;
|
|
|
|
import io.entgra.device.mgt.core.device.mgt.api.jaxrs.service.api.UserManagementService;
|
|
|
|
import io.entgra.device.mgt.core.device.mgt.api.jaxrs.service.api.UserManagementService;
|
|
|
|
import io.entgra.device.mgt.core.device.mgt.api.jaxrs.service.impl.util.RequestValidationUtil;
|
|
|
|
import io.entgra.device.mgt.core.device.mgt.api.jaxrs.service.impl.util.RequestValidationUtil;
|
|
|
|