在我的环境中使用 openid 自定义属性
我要设置一个 openid 服务器,它将支持未定义(http://www.axschema.org/types/)列表或实验列表中的复杂属性。属性可以是有关他工作的详细信息,例如他的报告老板 ID 等。我的 openid 服务器和客户端都在我的控制范围内,不应暴露在互联网上。
是否可以在 OpenId 协议中创建这个环境?如果是,请建议哪些服务器支持复杂属性(如果有)。
I with to setup a openid server which will support complex attributes that are not defined (http://www.axschema.org/types/) list or in experimental list. Attributes could be detailed information about his work like his reporting boss id, etc. My openid server and client both are within my control and are not supposed to be exposed to the internet.
Is it possible to create this environment within OpenId protocol? If yes, please suggest which servers support complex attributes if any.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
属性交换协议非常简单:
http://openid.net/specs/openid -attribute-exchange-1_0.html
毫无疑问,您需要修改它以支持这些非标准字段(更是如此,因为您可能从 LDAP 或其他数据库中提取数据),但它不应该'别太难了。
(对于属性交换本身,几乎所有开源实现都支持这一点。)
The attribute exchange protocol is pretty straightforward:
http://openid.net/specs/openid-attribute-exchange-1_0.html
You'll undoubtedly need to modify it to support these non-standard fields (doubly so because you're probably pulling the data from LDAP or some other database), but it shouldn't be hard.
(As for attribute exchange itself, almost all of the open-source implementations support this.)