mirror of
https://gitee.com/dromara/MaxKey.git
synced 2025-12-07 09:28:49 +08:00
webapi
This commit is contained in:
parent
bb8fecf7d8
commit
7fdd7ac1ea
@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
|
||||
package org.maxkey.mxapis.identity.rest;
|
||||
package org.maxkey.webapi.identity.rest;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
|
||||
package org.maxkey.mxapis.identity.rest;
|
||||
package org.maxkey.webapi.identity.rest;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
|
||||
package org.maxkey.mxapis.identity.scim;
|
||||
package org.maxkey.webapi.identity.scim;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
@ -26,15 +26,15 @@ import java.util.Set;
|
||||
import org.apache.mybatis.jpa.persistence.JpaPageResults;
|
||||
import org.maxkey.entity.Roles;
|
||||
import org.maxkey.entity.UserInfo;
|
||||
import org.maxkey.mxapis.identity.scim.resources.ScimGroup;
|
||||
import org.maxkey.mxapis.identity.scim.resources.ScimMemberRef;
|
||||
import org.maxkey.mxapis.identity.scim.resources.ScimMeta;
|
||||
import org.maxkey.mxapis.identity.scim.resources.ScimParameters;
|
||||
import org.maxkey.mxapis.identity.scim.resources.ScimSearchResult;
|
||||
import org.maxkey.persistence.service.RoleMemberService;
|
||||
import org.maxkey.persistence.service.RolesService;
|
||||
import org.maxkey.util.DateUtils;
|
||||
import org.maxkey.util.StringUtils;
|
||||
import org.maxkey.webapi.identity.scim.resources.ScimGroup;
|
||||
import org.maxkey.webapi.identity.scim.resources.ScimMemberRef;
|
||||
import org.maxkey.webapi.identity.scim.resources.ScimMeta;
|
||||
import org.maxkey.webapi.identity.scim.resources.ScimParameters;
|
||||
import org.maxkey.webapi.identity.scim.resources.ScimSearchResult;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
|
||||
package org.maxkey.mxapis.identity.scim;
|
||||
package org.maxkey.webapi.identity.scim;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
@ -23,13 +23,13 @@ import java.util.List;
|
||||
|
||||
import org.apache.mybatis.jpa.persistence.JpaPageResults;
|
||||
import org.maxkey.entity.Organizations;
|
||||
import org.maxkey.mxapis.identity.scim.resources.ScimMeta;
|
||||
import org.maxkey.mxapis.identity.scim.resources.ScimOrganization;
|
||||
import org.maxkey.mxapis.identity.scim.resources.ScimParameters;
|
||||
import org.maxkey.mxapis.identity.scim.resources.ScimSearchResult;
|
||||
import org.maxkey.persistence.service.OrganizationsService;
|
||||
import org.maxkey.util.DateUtils;
|
||||
import org.maxkey.util.StringUtils;
|
||||
import org.maxkey.webapi.identity.scim.resources.ScimMeta;
|
||||
import org.maxkey.webapi.identity.scim.resources.ScimOrganization;
|
||||
import org.maxkey.webapi.identity.scim.resources.ScimParameters;
|
||||
import org.maxkey.webapi.identity.scim.resources.ScimSearchResult;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
|
||||
package org.maxkey.mxapis.identity.scim;
|
||||
package org.maxkey.webapi.identity.scim;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
|
||||
package org.maxkey.mxapis.identity.scim;
|
||||
package org.maxkey.webapi.identity.scim;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
@ -24,22 +24,22 @@ import org.apache.mybatis.jpa.persistence.JpaPageResults;
|
||||
import org.maxkey.constants.ConstsStatus;
|
||||
import org.maxkey.entity.Roles;
|
||||
import org.maxkey.entity.UserInfo;
|
||||
import org.maxkey.mxapis.identity.scim.resources.ScimEnterprise;
|
||||
import org.maxkey.mxapis.identity.scim.resources.ScimFormattedName;
|
||||
import org.maxkey.mxapis.identity.scim.resources.ScimGroupRef;
|
||||
import org.maxkey.mxapis.identity.scim.resources.ScimManager;
|
||||
import org.maxkey.mxapis.identity.scim.resources.ScimMeta;
|
||||
import org.maxkey.mxapis.identity.scim.resources.ScimParameters;
|
||||
import org.maxkey.mxapis.identity.scim.resources.ScimSearchResult;
|
||||
import org.maxkey.mxapis.identity.scim.resources.ScimUser;
|
||||
import org.maxkey.mxapis.identity.scim.resources.ScimUserEmail;
|
||||
import org.maxkey.mxapis.identity.scim.resources.ScimUserPhoneNumber;
|
||||
import org.maxkey.mxapis.identity.scim.resources.ScimOrganizationEmail.UserEmailType;
|
||||
import org.maxkey.mxapis.identity.scim.resources.ScimOrganizationPhoneNumber.UserPhoneNumberType;
|
||||
import org.maxkey.persistence.service.RolesService;
|
||||
import org.maxkey.persistence.service.UserInfoService;
|
||||
import org.maxkey.util.DateUtils;
|
||||
import org.maxkey.util.StringUtils;
|
||||
import org.maxkey.webapi.identity.scim.resources.ScimEnterprise;
|
||||
import org.maxkey.webapi.identity.scim.resources.ScimFormattedName;
|
||||
import org.maxkey.webapi.identity.scim.resources.ScimGroupRef;
|
||||
import org.maxkey.webapi.identity.scim.resources.ScimManager;
|
||||
import org.maxkey.webapi.identity.scim.resources.ScimMeta;
|
||||
import org.maxkey.webapi.identity.scim.resources.ScimParameters;
|
||||
import org.maxkey.webapi.identity.scim.resources.ScimSearchResult;
|
||||
import org.maxkey.webapi.identity.scim.resources.ScimUser;
|
||||
import org.maxkey.webapi.identity.scim.resources.ScimUserEmail;
|
||||
import org.maxkey.webapi.identity.scim.resources.ScimUserPhoneNumber;
|
||||
import org.maxkey.webapi.identity.scim.resources.ScimOrganizationEmail.UserEmailType;
|
||||
import org.maxkey.webapi.identity.scim.resources.ScimOrganizationPhoneNumber.UserPhoneNumberType;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
|
||||
package org.maxkey.mxapis.identity.scim.resources;
|
||||
package org.maxkey.webapi.identity.scim.resources;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
|
||||
package org.maxkey.mxapis.identity.scim.resources;
|
||||
package org.maxkey.webapi.identity.scim.resources;
|
||||
|
||||
import java.util.HashSet;
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
|
||||
package org.maxkey.mxapis.identity.scim.resources;
|
||||
package org.maxkey.webapi.identity.scim.resources;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
|
||||
package org.maxkey.mxapis.identity.scim.resources;
|
||||
package org.maxkey.webapi.identity.scim.resources;
|
||||
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
|
||||
package org.maxkey.mxapis.identity.scim.resources;
|
||||
package org.maxkey.webapi.identity.scim.resources;
|
||||
|
||||
public class ScimGroupRef extends ScimMultiValuedAttribute{
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
|
||||
package org.maxkey.mxapis.identity.scim.resources;
|
||||
package org.maxkey.webapi.identity.scim.resources;
|
||||
|
||||
public class ScimManager {
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
|
||||
package org.maxkey.mxapis.identity.scim.resources;
|
||||
package org.maxkey.webapi.identity.scim.resources;
|
||||
|
||||
public class ScimMemberRef extends ScimMultiValuedAttribute{
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
|
||||
package org.maxkey.mxapis.identity.scim.resources;
|
||||
package org.maxkey.webapi.identity.scim.resources;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
|
||||
package org.maxkey.mxapis.identity.scim.resources;
|
||||
package org.maxkey.webapi.identity.scim.resources;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
|
||||
package org.maxkey.mxapis.identity.scim.resources;
|
||||
package org.maxkey.webapi.identity.scim.resources;
|
||||
|
||||
import java.util.HashSet;
|
||||
import java.util.List;
|
||||
@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
|
||||
package org.maxkey.mxapis.identity.scim.resources;
|
||||
package org.maxkey.webapi.identity.scim.resources;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
|
||||
package org.maxkey.mxapis.identity.scim.resources;
|
||||
package org.maxkey.webapi.identity.scim.resources;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
|
||||
package org.maxkey.mxapis.identity.scim.resources;
|
||||
package org.maxkey.webapi.identity.scim.resources;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@ -15,9 +15,9 @@
|
||||
*/
|
||||
|
||||
|
||||
package org.maxkey.mxapis.identity.scim.resources;
|
||||
package org.maxkey.webapi.identity.scim.resources;
|
||||
|
||||
import org.maxkey.mxapis.identity.scim.ScimServiceProviderConfigController;
|
||||
import org.maxkey.webapi.identity.scim.ScimServiceProviderConfigController;
|
||||
|
||||
public class ScimParameters {
|
||||
int startIndex = 1;
|
||||
@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
|
||||
package org.maxkey.mxapis.identity.scim.resources;
|
||||
package org.maxkey.webapi.identity.scim.resources;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Set;
|
||||
@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
|
||||
package org.maxkey.mxapis.identity.scim.resources;
|
||||
package org.maxkey.webapi.identity.scim.resources;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
|
||||
package org.maxkey.mxapis.identity.scim.resources;
|
||||
package org.maxkey.webapi.identity.scim.resources;
|
||||
|
||||
import java.util.HashSet;
|
||||
import java.util.List;
|
||||
@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
|
||||
package org.maxkey.mxapis.identity.scim.resources;
|
||||
package org.maxkey.webapi.identity.scim.resources;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
|
||||
package org.maxkey.mxapis.identity.scim.resources;
|
||||
package org.maxkey.webapi.identity.scim.resources;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
|
||||
package org.maxkey.mxapis.identity.scim.resources;
|
||||
package org.maxkey.webapi.identity.scim.resources;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
|
||||
package org.maxkey.mxapis.identity.scim.resources;
|
||||
package org.maxkey.webapi.identity.scim.resources;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
|
||||
package org.maxkey.mxapis.identity.scim.resources;
|
||||
package org.maxkey.webapi.identity.scim.resources;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
|
||||
package org.maxkey.mxapis.identity.scim.resources;
|
||||
package org.maxkey.webapi.identity.scim.resources;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
|
||||
package org.maxkey.mxapis.identity.scim.resources;
|
||||
package org.maxkey.webapi.identity.scim.resources;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
|
||||
package org.maxkey.mxapis.identity.scim.resources;
|
||||
package org.maxkey.webapi.identity.scim.resources;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
|
||||
package org.maxkey.mxapis.identity.scim.resources;
|
||||
package org.maxkey.webapi.identity.scim.resources;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
|
||||
package org.maxkey.mxapis.identity.scim.resources;
|
||||
package org.maxkey.webapi.identity.scim.resources;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@ -17,9 +17,9 @@
|
||||
|
||||
package org.maxkey.identity.scim.resources;
|
||||
|
||||
import org.maxkey.mxapis.identity.scim.resources.ScimEnterpriseUser;
|
||||
import org.maxkey.pretty.impl.JsonPretty;
|
||||
import org.maxkey.util.JsonUtils;
|
||||
import org.maxkey.webapi.identity.scim.resources.ScimEnterpriseUser;
|
||||
|
||||
public class ScimEnterpriseUserJsonString2ObjectTest {
|
||||
|
||||
|
||||
@ -21,14 +21,14 @@ import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import org.maxkey.mxapis.identity.scim.resources.ScimEnterprise;
|
||||
import org.maxkey.mxapis.identity.scim.resources.ScimEnterpriseUser;
|
||||
import org.maxkey.mxapis.identity.scim.resources.ScimFormattedName;
|
||||
import org.maxkey.mxapis.identity.scim.resources.ScimMeta;
|
||||
import org.maxkey.mxapis.identity.scim.resources.ScimUserEmail;
|
||||
import org.maxkey.mxapis.identity.scim.resources.ScimUserPhoneNumber;
|
||||
import org.maxkey.pretty.impl.JsonPretty;
|
||||
import org.maxkey.util.JsonUtils;
|
||||
import org.maxkey.webapi.identity.scim.resources.ScimEnterprise;
|
||||
import org.maxkey.webapi.identity.scim.resources.ScimEnterpriseUser;
|
||||
import org.maxkey.webapi.identity.scim.resources.ScimFormattedName;
|
||||
import org.maxkey.webapi.identity.scim.resources.ScimMeta;
|
||||
import org.maxkey.webapi.identity.scim.resources.ScimUserEmail;
|
||||
import org.maxkey.webapi.identity.scim.resources.ScimUserPhoneNumber;
|
||||
|
||||
public class ScimEnterpriseUserJsonTest {
|
||||
|
||||
|
||||
@ -17,9 +17,9 @@
|
||||
|
||||
package org.maxkey.identity.scim.resources;
|
||||
|
||||
import org.maxkey.mxapis.identity.scim.resources.ScimGroup;
|
||||
import org.maxkey.pretty.impl.JsonPretty;
|
||||
import org.maxkey.util.JsonUtils;
|
||||
import org.maxkey.webapi.identity.scim.resources.ScimGroup;
|
||||
|
||||
public class ScimGroupJsonString2ObjectTest {
|
||||
public static void main(String[] args) {
|
||||
|
||||
@ -21,11 +21,11 @@ import java.util.Date;
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
import org.maxkey.mxapis.identity.scim.resources.ScimGroup;
|
||||
import org.maxkey.mxapis.identity.scim.resources.ScimMemberRef;
|
||||
import org.maxkey.mxapis.identity.scim.resources.ScimMeta;
|
||||
import org.maxkey.pretty.impl.JsonPretty;
|
||||
import org.maxkey.util.JsonUtils;
|
||||
import org.maxkey.webapi.identity.scim.resources.ScimGroup;
|
||||
import org.maxkey.webapi.identity.scim.resources.ScimMemberRef;
|
||||
import org.maxkey.webapi.identity.scim.resources.ScimMeta;
|
||||
|
||||
public class ScimGroupJsonTest {
|
||||
public static void main(String[] args) {
|
||||
|
||||
@ -17,9 +17,9 @@
|
||||
|
||||
package org.maxkey.identity.scim.resources;
|
||||
|
||||
import org.maxkey.mxapis.identity.scim.resources.ScimUser;
|
||||
import org.maxkey.pretty.impl.JsonPretty;
|
||||
import org.maxkey.util.JsonUtils;
|
||||
import org.maxkey.webapi.identity.scim.resources.ScimUser;
|
||||
|
||||
public class ScimUserJsonString2ObjectTest {
|
||||
|
||||
|
||||
@ -21,13 +21,13 @@ import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import org.maxkey.mxapis.identity.scim.resources.ScimFormattedName;
|
||||
import org.maxkey.mxapis.identity.scim.resources.ScimMeta;
|
||||
import org.maxkey.mxapis.identity.scim.resources.ScimUser;
|
||||
import org.maxkey.mxapis.identity.scim.resources.ScimUserEmail;
|
||||
import org.maxkey.mxapis.identity.scim.resources.ScimUserPhoneNumber;
|
||||
import org.maxkey.pretty.impl.JsonPretty;
|
||||
import org.maxkey.util.JsonUtils;
|
||||
import org.maxkey.webapi.identity.scim.resources.ScimFormattedName;
|
||||
import org.maxkey.webapi.identity.scim.resources.ScimMeta;
|
||||
import org.maxkey.webapi.identity.scim.resources.ScimUser;
|
||||
import org.maxkey.webapi.identity.scim.resources.ScimUserEmail;
|
||||
import org.maxkey.webapi.identity.scim.resources.ScimUserPhoneNumber;
|
||||
|
||||
public class ScimUserJsonTest {
|
||||
|
||||
|
||||
@ -39,9 +39,9 @@ import org.springframework.context.annotation.ComponentScan;
|
||||
"org.maxkey.entity",
|
||||
"org.maxkey.entity.apps",
|
||||
"org.maxkey.entity.userinfo",
|
||||
"org.maxkey.mxapis.identity.kafka",
|
||||
"org.maxkey.mxapis.identity.rest",
|
||||
"org.maxkey.mxapis.identity.scim",
|
||||
"org.maxkey.webapi.identity.kafka",
|
||||
"org.maxkey.webapi.identity.rest",
|
||||
"org.maxkey.webapi.identity.scim",
|
||||
"org.maxkey.persistence",
|
||||
"org.maxkey.provision",
|
||||
"org.maxkey.synchronizer",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user