diff --git a/api-test/backend/src/main/java/io/metersphere/api/dto/scenario/environment/EnvAuthManager.java b/api-test/backend/src/main/java/io/metersphere/api/dto/scenario/environment/EnvAuthManager.java index afaf9000e9..196e48f1aa 100644 --- a/api-test/backend/src/main/java/io/metersphere/api/dto/scenario/environment/EnvAuthManager.java +++ b/api-test/backend/src/main/java/io/metersphere/api/dto/scenario/environment/EnvAuthManager.java @@ -1,9 +1,8 @@ package io.metersphere.api.dto.scenario.environment; -import io.metersphere.api.dto.definition.request.auth.MsAuthManager; import lombok.Data; @Data public class EnvAuthManager { - private EnvAuthManager authManager; + private ItemAuthManager authManager; } diff --git a/api-test/backend/src/main/java/io/metersphere/api/dto/scenario/environment/ItemAuthManager.java b/api-test/backend/src/main/java/io/metersphere/api/dto/scenario/environment/ItemAuthManager.java new file mode 100644 index 0000000000..9a61b27de2 --- /dev/null +++ b/api-test/backend/src/main/java/io/metersphere/api/dto/scenario/environment/ItemAuthManager.java @@ -0,0 +1,19 @@ +package io.metersphere.api.dto.scenario.environment; + +import io.metersphere.commons.constants.ElementConstants; +import lombok.Data; + +@Data +public class ItemAuthManager { + private String type = ElementConstants.AUTH_MANAGER; + private String clazzName = ItemAuthManager.class.getCanonicalName(); + private String username; + private String password; + private String url; + private String realm; + private String verification; + private String mechanism; + private String encrypt; + private String domain; + private String environment; +}