Ldap imported accounts which are saml enabled doesn't fallback to ldap if saml is disabled
- 主要語言
- Java
- 星號
- 3.1k
- 分支
- 1.4k
- 平均合併
- 6 天 19 小時
- 30 天內合併 PR
- 32
描述
### problem
Ldap imported accounts which are saml enabled doesn't fallback to ldap if saml is disabled
### versions
ACS 4.23 Nightly
### The steps to reproduce the bug
1. Configure a LDAP and Import a LDAP account
2. Check the user type , its set to LDAP
3. Authorize SAML to the imported ldap account
4. The user type is assigned as SAML
5. Disable SAML SSO
6. The user type is assigned as NATIVE TYPE
7. The LDAP imported user is not able to login with LDAP credentials since the user type changes
made sure the setting
enable.login.with.disabled.saml is set to true
https://github.com/apache/cloudstack/pull/10868
### What to do about it?
If the SAML authentication is disabled for a LDAP imported account.
The user type should switch back to LDAP
貢獻指南
研究方向
首先,重現 issue 中描述的 LDAP 匯入、SAML 授權、SAML 停用和 LDAP 登入步驟,然後閱讀 PR #10868 中變更的行為。追蹤停用 SAML 時帳戶使用者類型變更的位置。當帳戶恢復為 LDAP 使用者類型,並且在所述設定啟用的情況下能夠使用 LDAP 憑證進行驗證時,即表示完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- java
- 領域
- authentication
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 52/100