[Mono-list] WCF - ServiceSecurityContext
augustwest
ctxdeaneo at yahoo.com
Tue Feb 15 13:30:29 EST 2011
I have successfully implemented a very simple self-hosted WCF service using
BasicHttpBinding however I am unable to validate the basic authentication
credentials. In addition, ServiceSecurityContext.Current is always null
when receiving a request. Is this normal?
My service is implemented as such....
BasicHttpBinding basicHttpBinding = new BasicHttpBinding();
basicHttpBinding.Security.Mode = BasicHttpSecurityMode.Transport;
basicHttpBinding.Security.Transport.ClientCredentialType =
HttpClientCredentialType.Basic;
basicHttpBinding.Security.Transport.ProxyCredentialType =
HttpProxyCredentialType.None;
basicHttpBinding.Security.Transport.Realm = String.Empty;
basicHttpBinding.Security.Message.ClientCredentialType =
BasicHttpMessageCredentialType.Certificate;
basicHttpBinding.Security.Message.AlgorithmSuite =
System.ServiceModel.Security.SecurityAlgorithmSuite.Default;
....
--
View this message in context: http://mono.1490590.n4.nabble.com/WCF-ServiceSecurityContext-tp3307343p3307343.html
Sent from the Mono - General mailing list archive at Nabble.com.
More information about the Mono-list
mailing list