我们如何使用oracle在基于windows的身份验证中实现基于角色的授权 [英] How could we achieve role based authorization in windowsbased authentication with oracle

查看:100
本文介绍了我们如何使用oracle在基于windows的身份验证中实现基于角色的授权的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我需要实现基于角色的授权,在我的应用程序中进行基于Windows的身份验证,我正在使用oracle数据库。我认为成员身份使用表单身份验证和SQL服务器数据库。在这里,我从域中获取用户名并将其存储在数据库中,并使用数据库名称检查当前系统用户名,然后允许他们访问应用程序,是否有任何样本来实现此方案,表示赞赏。



谢谢

Hi,
I need to implement the role based authorization, in my app which working on windows based authentication, and i am using the oracle database. i think membership work with forms authentication and with SQL server database. Here i am getting user names from domain and storing them in database, and checking the current system username with database name and then allow them to access the application,is there any sample to implement this scenario is appreciated.

Thanks

推荐答案

您应该能够捕获用户的唯一登录SID并将其存储在Oracle中。我也为SQL做同样的事情。但是,我的角色是自定义应用程序驱动。
You should be able to capture the user's unique login SID and store it in Oracle. I do the same for SQL. However, my roles are custom application driven.


这篇关于我们如何使用oracle在基于windows的身份验证中实现基于角色的授权的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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