This project is read-only.

Custom Authentication / Windows Authentication

Topics: Customizing Orchard
Jul 27, 2012 at 11:45 AM

Hi folks,

I've got a scenario where I need to control who gets to see various pages on the public side of an Orchard site, based on the Windows Authentication.

However, I'm not sure how the pipeline on Orchard behaves with regards to user requests, in particular with authentication.  

I'm looking to use 1.5.1 for this project, as I am hoping to map User's Active Directory groups to Roles within Orchard (and therefore make life easier) - but I need to be able to create an "acceptable" list of Orchard groups during the request to the site.

Any pointers on how to approach this, before I start putting code in place?


Jul 27, 2012 at 1:00 PM

Further thought ....

I'm thinking the easiest approach is actually to build a custom implementation of the Orchard.Roles package that handles the mapping of the User Identity to Orchard Roles ...