1

I'm a beginner using WCF Service, and I'm trying to understand how the ClientCredential methods work. I am able to successfully use authentication using wsHttpBinding and SQLMembershipProvider.

However, I would like to know how ClientCredential does the authentication. I would like to override the login method to write some additional code around the SQLMembership one.

Moreover, I would like to know if it is possible to logoff the user from the server side.

I would also like to know how I can retrieve the MembershipUser/MembershipProvider from the server side?

crthompson
  • 15,653
  • 6
  • 58
  • 80
Camille
  • 25
  • 1
  • 4
  • Are you using a GUI WCF client? – Shiv Kumar Feb 28 '11 at 07:29
  • On the server side it's a WCF Service, and a WPF Client is making the connexion with the WCF Service. – Camille Feb 28 '11 at 07:40
  • It seems that the MembershipProvider can be retrieved from the server by using MembershipProvider provider = Membership.Providers["SqlMembershipProvider"];. Closing the Authentication from the serv-side don't seem to be the problem. However, the cliencredential custom authentication is very needed here. – Camille Feb 28 '11 at 08:43

0 Answers0