Results 1 to 3 of 3

Thread: Swopping out .Net Membership Provider (custom) with Active Directory

  1. #1

    Thread Starter
    Hyperactive Member Krokonoster's Avatar
    Join Date
    Jan 2010
    Location
    Cape Town
    Posts
    448

    Swopping out .Net Membership Provider (custom) with Active Directory

    Hi,

    In my web application I created a custom implementation of the standard .net membership and role providers, using nHibernate. Works fine.

    Now I have the requirement that client's should not only be able to host their own instance of my web application, but also be able to integrate with their own authentication system.

    I know for a fact, they could write their own implementation of the membership and role providers and just make changes to the web.config. No biggie.

    However, I believe many of these clients are using Active Directory.

    Just wanted to confirm (note: never used AD) that in such case they can just as easily swop out the current providers with whatever one uses with AD, without any changes required to my web app?
    (need to research, but right now I have to put that into a document whether possible or not and rather not lie by accident)

    Thanks in advance


  2. #2
    Fanatic Member
    Join Date
    Jun 2004
    Location
    All useless places
    Posts
    917

    Re: Swopping out .Net Membership Provider (custom) with Active Directory

    Just wanted to confirm (note: never used AD) that in such case they can just as easily swop out the current providers with whatever one uses with AD, without any changes required to my web app?
    This is possible but somebody has to write the concrete classes implementing the interface methods & properties for Active Directory. You should also look into the concept of Inversion of Control and see if it fits your scenario. I do not have much experience implementing that at this point of time but from the look of things seems could be useful in your case.

  3. #3

    Thread Starter
    Hyperactive Member Krokonoster's Avatar
    Join Date
    Jan 2010
    Location
    Cape Town
    Posts
    448

    Re: Swopping out .Net Membership Provider (custom) with Active Directory

    Every app I create use IoC, don't worry about that. ;-)
    Your answer is more trying to give me programming tips, not what I asked for but you hint in there (unless I got it wrong) that they can write a custom .net membership provider that implement AD.
    If so, it's just a matter of modifying the web.config (telling the app to use this or that provider) which is exactly what I hope is possible.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width