Configuring EndpointSupportingTokenParameters.SignedEncrypted.Add in web.config RRS feed

  • Question

  • Hi,

    I have to create custom binding for a wcf service to receive password as digest from the client.

    I have done this by using EndpointSupportingTokenParameters.SignedEncrypted.Add(new UsernameTokenParameters()) in the code behind. But I want this to be configured in the web.config of the service.

    Tried with 

            <binding name="CustomWsHttpBinding">
              <transactionFlow />
              <security authenticationMode="UserNameOverTransport" requireDerivedKeys="false" allowInsecureTransport="true" requireSignatureConfirmation="false" messageProtectionOrder="SignBeforeEncrypt"  allowSerializedSigningTokenOnReply="false"  >
                <issuedTokenParameters tokenType="" />
                <!--<secureConversationBootstrap authenticationMode="UserNameForSslNegotiated" />-->
                <readerQuotas maxStringContentLength="10485760"/>
              <httpsTransport authenticationScheme="Anonymous" proxyAuthenticationScheme="Anonymous" maxBufferSize="10485760" maxReceivedMessageSize="10485760" allowCookies="true" />

     This did not work. Can anybody please suggest me any other way to achieve this?


    Friday, January 11, 2013 11:26 AM

All replies

  • Hi,Can you explain more clearly for "custom binding for a wcf service to receive password as digest from the client"? What is the specific point for this custom binding.

    Wednesday, January 16, 2013 9:17 AM