单个令牌与多个地方的声明 [英] Single Token with Claims from Multiple Places

查看:89
本文介绍了单个令牌与多个地方的声明的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这个问题可能是因为我没有在日内瓦度过足够的道路时间,但是这里有。我有一个应用程序,我正在考虑从自定义表单auth迁移到日内瓦身份验证的各种原因。此身份验证使用Active Directory作为身份,例如用户名和密码是针对AD验证的,但该用户的角色来自其他地方。所以我想知道如何配置Geneva环境来验证针对活动目录的用户名/密码,然后从AD用户名上键入的自定义数据库中获取角色列表。

想法?


.NET Addict - http://dotnetaddict.dotnetdevelopersjournal.com

This question may be the result of me not having spent enough road time with Geneva yet, but here goes.
I have an application that I'm thinking of migrating from custom forms auth to Geneva authentication for a variety of reasons. This authentication uses Active Directory for the identity, e.g. the username and password are verified against an AD, but the roles for that user come from somewhere else. So I'm wondering how I would configure a Geneva environment to verify the username/password against an active directory and then get a list of roles from a custom database keyed on the AD username.

Thoughts?


The .NET Addict - http://dotnetaddict.dotnetdevelopersjournal.com

推荐答案

那里有两种方法可以解决这个问题:
There are two ways you could approach this:


这篇关于单个令牌与多个地方的声明的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆