How do I get the Current ServiceSecurityContext on the server side when using WCF?
I have a client app that can upload some data via a WCF service.
I have the client app setup some credentials so the service can authenticate the user using some membership provider.I'm having some issues gettin开发者_开发问答g SSL (https) working at the moment so I tried just simplifying the config by setting security modes to none. When doing so the context is always null on the server.
Does that mean I need to setup SSL in order to access ServiceSecurityContext.Current on the server side?
ServiceSecurityContext.Current.PrimaryIdentity.Name;
精彩评论