开发者

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;
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜