{ "key": "", "password": "", "sslKeyStorePassword": "123456", "sslKeyManagerPassword": "123456", "initialManager": "xadmin", "initialManagerDistinguishedName": "xadmin@o2oa@P", "ssos": [ { "enable": false, "client": "", "key": "", "###enable": "是否启用###", "###client": "名称###", "###key": "密钥###" } ], "oauths": [ { "enable": false, "clientId": "", "mapping": {}, "###enable": "是否启用###", "###clientId": "客户端名称###", "###clientSecret": "密钥###", "###loginUrl": "登录地址###", "###mapping": "返回值###" } ], "oauthClients": [ { "enable": false, "name": "", "displayName": "", "icon": "", "clientId": "", "clientSecret": "", "authAddress": "", "authParameter": "client_id\u003d{$client_id}\u0026redirect_uri\u003d{$redirect_uri}", "authMethod": "GET", "tokenAddress": "", "tokenParameter": "client_id\u003d{$client_id}\u0026client_secret\u003d{$client_secret}\u0026redirect_uri\u003d{$redirect_uri}\u0026grant_type\u003dauthorization_code\u0026code\u003d{$code}", "tokenMethod": "POST", "tokenType": "json", "infoAddress": "", "infoParameter": "access_token\u003d{$access_token}", "infoMethod": "GET", "infoType": "json", "infoCredentialField": "openId", "infoScriptText": "", "bindingEnable": false, "bindingField": "", "###enable": "是否启用.###", "###name": "名称.###", "###displayName": "显示名称.###", "###icon": "图标.###", "###clientId": "用户oauth2认证的client_id.###", "###clientSecret": "用户oauth2认证的client_secret.###", "###authAddress": "认证后的跳转地址.###", "###authParameter": "请求密钥方法参数.###", "###authMethod": "请求密钥方法.一般为GET###", "###tokenAddress": "请求令牌网址.###", "###tokenParameter": "请求令牌方法参数.###", "###tokenMethod": "请求令牌方法.一般为POST###", "###tokenType": "token信息格式.json格式或者form格式###", "###infoAddress": "请求信息网址.###", "###infoParameter": "请求信息方法参数.###", "###infoMethod": "请求信息方法.一般为GET###", "###infoType": "info信息格式.json格式或者form格式或者script格式###", "###infoCredentialField": "info信息中用于标识个人的字段.###", "###infoScriptText": "info信息中用于标识个人的字段.###", "###bindingEnable": "是否允许绑定到用户,如果允许,用户可以自行绑定.###", "###bindingField": "绑定字段,对端的用户标识,一般为openId绑定到个人字段,可选值为open1Id,open2Id,open3Id,open4Id,open5Id###" } ], "###key": "加密用口令的密钥,修改后会导致用户口令验证失败.###", "###password": "初始管理员密码,用于内部数据库和FTP文件服务器,以及http的token加密.###", "###sslKeyStorePassword": "ssl密码###", "###sslKeyManagerPassword": "ssl管理密码###", "###initialManager": "初始管理员名称,目前不可更改.###", "###initialManagerDistinguishedName": "初始管理员DistinguishedName,不可更改.###", "###ssos": "sso登录配置###", "###oauths": "oauth单点登录配置###", "###oauthClients": "作为客户端单点登录配置###" }