Guy Barrette, Microsoft, Regional Director, Montreal, Canada, Visual Studio, .NET Expertise RIA Services: Custom Authentication - Guy Barrette

Guy Barrette

Microsoft Regional Director, Montreal, Canada

RIA Services: Custom Authentication

I’ve been scratching my head on this one yesterday.  I wanted to use some kind of custom authentication with RIA Services instead of using the default one.  The overview document found here states this:

If the Application Developer wants to use their own Custom Authentication, they can do so by implementing IAuthentication<User> instead of deriving from Authentication Base.

Well, I wasn’t able to get it to work so I fired up a quick email to Laurent Duveau who pointed me to this StackOverflow page where Nick Gotch explains how he did it simply by overriding some of the AuthenticationBase methods.  Works like a charm!

Bookmark and Share
Posted: Sep 14 2009, 09:30 AM by guybarrette | with no comments
Filed under:

Comments

No Comments