Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

12. Advanced WCF RIA Services > Tracking a user's identity — a custom authentic...

Tracking a user's identity — a custom authentication service

Applies to Silverlight 4, 5

Windows authentication, as we've used in the previous recipe, is very suitable for internal environments. However, if you're publishing a public Silverlight application, you typically require the user to enter his or her credentials. Besides that, the User object itself might be different: it might have extra properties; it might be an Employee object from your database.

In this recipe, we'll learn how we can achieve this kind of authentication.

Getting ready

Before getting started, you've got to make sure the correct SDK and assemblies to enable WCF RIA Services are available. Please refer to the recipe Setting up a data solution to work with WCF RIA Services from Chapter 11, Using WCF RIA Services for more information.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint