Skip to content

saml2p Response 返回重复的GrantedAuthority值会导致zabbix SCIM #272

Description

@jxl1216

saml2p Response 报文其中 ROLE_USER 出现了 2 次,ROLE_ALL_USER 也出现了 2 次。

saml2:AttributeStatement
<saml2:Attribute Name="GrantedAuthority" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic">
<saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string">ROLE_USER</saml2:AttributeValue>
<saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string">ROLE_USER</saml2:AttributeValue>
<saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string">ROLE_ALL_USER</saml2:AttributeValue>
<saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string">ROLE_ORDINARY_USER</saml2:AttributeValue>
<saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string">622178881788444672</saml2:AttributeValue>
<saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string">622179035744567296</saml2:AttributeValue>
<saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string">622179241118662656</saml2:AttributeValue>
<saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string">622179422249680896</saml2:AttributeValue>
<saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string">622179552155664384</saml2:AttributeValue>
<saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string">622179692295749632</saml2:AttributeValue>
<saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string">ROLE_ALL_USER</saml2:AttributeValue>
<saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string">1294029530771488768</saml2:AttributeValue>
<saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string">ROLE_zabbix_USER</saml2:AttributeValue>
</saml2:Attribute>
zabbix登录报错
发生系统错误。请联系 Zabbix 管理员。
SQL描述式执行已失败: "INSERT INTO scim_group (scim_groupid,name) VALUES ('521','ROLE_USER'),('522','ROLE_USER'),('523','ROLE_ALL_USER'),('524','ROLE_ORDINARY_USER'),('525','622178881788444672'),('526','622179035744567296'),('527','622179241118662656'),('528','622179422249680896'),('529','622179552155664384'),('530','622179692295749632'),('531','ROLE_ALL_USER'),('532','1294029530771488768'),('533','ROLE_zabbix_USER')".

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions