apache / apache/cloudstack

[SAML Groups] Allow linking accounts/domains to SAML groups

未关闭
#12,212 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
component:saml
主要语言
Java
星标
3.1k
派生
1.4k
平均合并
6 天 19 小时
30 天内合并 PR
32

描述

Most SAML IdPs are able to provide group information for the authenticated user in the form of a SAML attribute (with many values for each group the user is in). It would be useful to be able to use the groups in the same way that LDAP groups can, such as to give a user access to certain accounts.

Here is an example SAML response from AWS Identity Center showing how groups are formatted.

```xml


ourdomainhere.internal//S-1-5-21-3122984950-2570546592-4150994639-1732
ourdomainhere.internal//S-1-5-21-3122984950-2570546592-4150994639-2026
ourdomainhere.internal//S-1-5-21-3122984950-2570546592-4150994639-1814
ourdomainhere.internal//S-1-5-21-3122984950-2570546592-4150994639-1722
ourdomainhere.internal//S-1-5-21-3122984950-2570546592-4150994639-1748
ourdomainhere.internal//S-1-5-21-3122984950-2570546592-4150994639-1730
ourdomainhere.internal//S-1-5-21-3122984950-2570546592-4150994639-1953
ourdomainhere.internal//S-1-5-21-3122984950-2570546592-4150994639-1836


rhys@ourdomainhere.internal


```

This would be a useful feature to have as with more companies moving to a more "serverless" / "cloud-native" (insert your favourite buzzword here) it is becoming less common to an easy way to connect to the user directory with LDAP.

贡献指南

打开贡献指南

调研方向

首先定位现有的 LDAP 组处理逻辑,以及 SAML 属性解析或身份验证的入口点。定义多值 SAML 组属性应如何映射到账户或域访问权限,然后验证这些关联提供的访问行为与 LDAP 组相同。

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
authentication, authorization
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
冷清
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。