WSO2 Identity Server-将角色配置为单独的属性

用户名

默认情况下,wso2 IDP返回以下管理员,内部/身份,内部/所有人的角色

是否可以将IDP配置为将角色作为单独的属性返回,如下所示

<saml2:Attribute Name="http://wso2.org/claims/role">

        <saml2:AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema"

                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

                xsi:type="xs:string">manager</saml2:AttributeValue>

  </saml2:Attribute>

<saml2:Attribute Name="http://wso2.org/claims/role">

        <saml2:AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema"

                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

                xsi:type="xs:string">Internal/identity</saml2:AttributeValue>

  </saml2:Attribute>

<saml2:Attribute Name="http://wso2.org/claims/role">

        <saml2:AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema"

                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

                xsi:type="xs:string">Internal/everyone</saml2:AttributeValue>

  </saml2:Attribute>

德罗克斯

当前,这不能使用WSO2 Identity Server完成。所有角色均以逗号分隔的列表形式在单个“ http://wso2.org/claims/role ”属性中返回。

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

WSO2 Identity Server升级

WSO2 Identity Server 5.9.0 oAuth2配置类型

wso2 Identity Server 5.7.0 Service Provider 如何设置用户角色?

WSO2 Identity Server群集部署中的数据库角色

如何配置 WSO2 API Manager 2.1.0 以使用 Identity Server 5.4.1

为WSO2 Identity Server部署自定义密码策略文件

WSO2 Identity Server将用户设置为“非活动”

如何在Docker中为WSO2 Identity Server指定SSL证书?

使用WSO2 Identity Server和WSO2 API Manager保护后端

WSO2 Identity Server的用户和租户

使用WSO2 Identity Server 5.1进行单点登录

使用WSO2 Identity Server的SAML2.0 SSO?

使用Spring Security + WSO2 Identity Server的OAuth 2.0

WSO2 Identity Server中的SAML请求-响应处理

WSO2 API Manager使用Identity Server存储访问

基于SAML / XACML的WSO2 Identity Server访问控制

集成bonita和wso2 Identity Server

wso2 Identity Server-无法删除租户

用于会话管理的 WSO2 Identity Server 5.0.0 Api

wso2 Identity Server-基于角色的ACL,用于管理用户对Web应用程序的访问

如何配置WSO2 Identity Server从第二个用户存储中添加声明

WSO2 Identity Server与ADFS Server集成时抛出NullpointerException

WSO2 sh wso2server.sh -Dmigrate -Dcomponent=identity 没有运行迁移脚本

WSO2 Identity Server用户身份验证的HTTP请求

WSO2 Identity Server在用户存储,策略管理等中看不到选项

使用WSO2 Identity Server管理外部自定义权限吗?

有什么方法可以在WSO2 Identity Server中加密用户名?

WSO2 Identity Server未返回带有OAuth / OpenID的请求的声明

WSO2 Identity Server中的SCIM服务提供商