IdentityServer / IdentityServer2

[deprecated] Thinktecture IdentityServer is a light-weight security token service built with .NET 4.5, MVC 4, Web API and WCF.
Other
410 stars 291 forks source link

ADFS with asp.net impersonation #803

Closed hpals closed 9 years ago

hpals commented 9 years ago

Hi ,

I have a scenario where I have two types of user login into the system.

  1. Database user : user provides username and pwd thru login page. STS authenticates agains our own database and creates a token.
  2. AD user : user logs in thru their active directory login. STS authenticates the user using ADFS

3 Impersonated user : After user is logged into the system thru thier Active Directory, that user should able to impersonate any database user (1) and login as that user into the system.

I am able to solve 1st two scenarios. but how should I implement the 3rd scenario,..

leastprivilege commented 9 years ago

well - that would be completely custom development. You would create a token for database use without that user being logged on...