package com.huimv.video.dhicc.test.user;



import com.huimv.video.dhicc.test.config.OauthConfigBaseInfo03;
import com.huimv.video.dhicc.test.config.OauthConfigUserPwdInfoTest03;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 用户名密码模式全局配置类，测试时需改为自己的配置信息，可在此进行修改
 */
@Configuration
public class UserPasswordConfigInfoTest03 {
    //主机地址 默认是联调环境
    private static String host = "61.153.47.93";
    //用户名
    private static String username = "system";
    //密码
    private static String password = "Admin123";
    //客户端id
    private static String clientId = "huimv";
    //客户端秘钥
    private static String clientSecret = "52975dac-37aa-46c4-b8ba-1e0cea483135";
    //https端口
    private static String https = "447";//https 默认端口443，做了内外网映射 9021
    //http端口
    private static String http = "83";//http http调试模式端口默认是83，未作外网映射，此环境不支持83端口调试
    //http请求协议 是否开启http调试模式，开启需登录运维中心 系统管理-》安全设置-》调试模式 开启；开启后端口是固定83端口
    private static boolean isEnableHttpTest = false;

    @Bean
    public OauthConfigBaseInfo03 getOauthConfigBaseInfoInstance03(){
        return new OauthConfigUserPwdInfoTest03(host,clientId,clientSecret,username,password,isEnableHttpTest,https,http);
    }
}
