Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

SSO integration and RoleProvider

$
0
0

Good afternoon,

I have a ASP.net application that has a custom RoleProvider which I wrote to lookup roles in a custom table and this has been working fine for quite a while.

However, we just got a client that needs us to integrate our appliation with an internal SSO system.

Basically we take the Windows ID pass to us by the browser (using WindowsAuth), lookup that ID in the SSO system (with some other data) using a REST call and it returns us an internal SSO ID (not based on AD). We then lookup that SSO ID in our tables to determine the roles.

What I am struggling with is the best approach for this.

I have already created a custom HTTP Module that does the rest call to SSO system but ideally I would like to reuse our custom role provider, but I see a problem in getting the SSO ID to be used by that role provider (currently GetRolesForUser is passed the Windows ID and not my SSO ID)

Am I approaching this in the correct way and how can I get the SSO ID passed to my RoleProvider or do I need to go back to the drawing board.

Thanks in advance.

Whatty


Viewing all articles
Browse latest Browse all 4737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>