wcf-authentication

WCF UserName & Password validation using wshttpbinding notworking

蹲街弑〆低调 提交于 2019-12-13 03:46:12
问题 I am new to WCF Service authentication, I was trying to achieve wcfauthentication using wshttpbinding. but i am getting below exception. Could not find a base address that matches scheme https for the endpoint with binding WSHttpBinding. Registered base address schemes are [http]. Web.Config: <?xml version="1.0"?> <configuration> <appSettings> <add key="aspnet:UseTaskFriendlySynchronizationContext" value="true" /> </appSettings> <system.web> <compilation debug="true" targetFramework="4.5" />

WCF Service Authentication from MVC App sharing same Membership Provider

巧了我就是萌 提交于 2019-12-12 17:15:29
问题 I have an MVC Application on X domain and a WCF Service in Y domain, and I want to use the same membership provider for both of them. The WCF Service is in Y domain because the data is in an intranet server, and the MVC Application is in X domain because I don't want to handle all the request on our server that generates the data. I want the user to login to the MVC Application and by doing so also authenticating to the WCF Service. I don't know which would be the best way to do so, if I can

wcf Authentication Token Implementation - How to do

巧了我就是萌 提交于 2019-12-11 02:26:29
问题 I need to implement token authentication between the user of my wcf services and my server. 1- User will request a token with his username, nickname and password from server and server will respond with a token if the credentials are correct? Question For 1 Should I create token for every single request or can I make it some storage to use the same token for specific period of time. What is the best way of doing that? any example on the web for this implementation? After token creation, where

Connect with WCF to a WebService authenticated with username/password

核能气质少年 提交于 2019-12-03 03:49:37
问题 I created a proxy of a Web Service with Visual Studio 2008, and it created for me the following entry in the app.config: <system.serviceModel> <bindings> <basicHttpBinding> <binding name="MyNameHandlerSoapBinding" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" messageEncoding=

Connect with WCF to a WebService authenticated with username/password

断了今生、忘了曾经 提交于 2019-12-02 17:14:44
I created a proxy of a Web Service with Visual Studio 2008, and it created for me the following entry in the app.config: <system.serviceModel> <bindings> <basicHttpBinding> <binding name="MyNameHandlerSoapBinding" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" useDefaultWebProxy="true"> <readerQuotas maxDepth="32"

WCF: The request for security token could not be satisfied because authentication failed

南楼画角 提交于 2019-11-29 22:16:28
I have written a very simple WCF Service that sends and receives messages. I have tested the app through the VS 2008 default web server host and everything works fine. But when I deploy the WCF service to another computer's IIS I receive the following error: "The request for security token could not be satisfied because authentication failed." How can I set the authentication type to use my custom username and password in config file? If it is not possible, please tell me how I can set its windows credentials because the 2 computers that I'm using, don't share the same users. Mark You need to

WCF: The request for security token could not be satisfied because authentication failed

时间秒杀一切 提交于 2019-11-28 18:57:25
问题 I have written a very simple WCF Service that sends and receives messages. I have tested the app through the VS 2008 default web server host and everything works fine. But when I deploy the WCF service to another computer's IIS I receive the following error: "The request for security token could not be satisfied because authentication failed." How can I set the authentication type to use my custom username and password in config file? If it is not possible, please tell me how I can set its