1
0
mirror of synced 2026-04-26 11:42:28 +08:00

👽 AuthConfig 中 CodingGroupName 改为 DomainPrefix

This commit is contained in:
yadong.zhang
2021-03-30 23:25:30 +08:00
parent bc3af96328
commit 3753e3b9bc
3 changed files with 36 additions and 10 deletions

View File

@@ -35,8 +35,8 @@ public class AuthChecker {
if (isSupported && AuthDefaultSource.WECHAT_ENTERPRISE == source) {
isSupported = StringUtils.isNotEmpty(config.getAgentId());
}
if (isSupported && AuthDefaultSource.CODING == source) {
isSupported = StringUtils.isNotEmpty(config.getCodingGroupName());
if (isSupported && (AuthDefaultSource.CODING == source || AuthDefaultSource.OKTA == source)) {
isSupported = StringUtils.isNotEmpty(config.getDomainPrefix());
}
if (isSupported && AuthDefaultSource.XMLY == source) {
isSupported = StringUtils.isNotEmpty(config.getDeviceId()) && null != config.getClientOsType();