Coder Social home page Coder Social logo

clearusernamebinding's Introduction

A full tutorial is here.

You can also check my twitter.

ClearUsernameBinding

Wcf does not natively allow to send username token over an unsecured transport (namely non-ssl). Trying to do so will results in one out of many errors, typically this one:

The provided URI scheme 'http' is invalid; expected 'https'. Parameter name: via

In some cases this is a legitimate use case. Consider the use of a load balancer, or an internal secured network.

ClearUsernameBinding allows to do this using a very simple configuration.

How to use ClearUsernameBinding?

A full tutorial is here.

License

MIT: http://rem.mit-license.org/

Bitdeli Badge

clearusernamebinding's People

Contributors

bitdeli-chef avatar jimwolff avatar yaronn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

clearusernamebinding's Issues

Question for you

So i was checking out this repo, because I find development with wcf is painful. I need to secure a wcf service, but i refuse to have to run terminal commands to bind a certificate to a port just to get https to work. All the services are behind traefik which handles ssl with lets encrypt. So if i can develop and use localhost, and then when i deploy behind traefik it still just keeps working, that would be great. I notice that this handles the client credentials, but does not handle that the wsdl still has localhost. Any thoughts on how to accomplish rewriting the urls that are in wsdl so they use correct url with https://mydomain.com?

Password format

Hi,

I'm using ClearUsernameBinding in order to authenticate against a SOAP service with username/password and without SSL.

My issue is that the security header generated doesn't include the password type:

Actual header:

    ```<o:Security s:mustUnderstand="1" xmlns:o="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
        <o:UsernameToken u:Id="uuid-74ef7289-eccf-4890-a438-38654752b005-1">
            <o:Username>USERNAME</o:Username>
            <o:Password>PASSWORD</o:Password>
        </o:UsernameToken>
    </o:Security>```

What I need:

    ```<o:Security s:mustUnderstand="1" xmlns:o="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
        <o:UsernameToken u:Id="uuid-74ef7289-eccf-4890-a438-38654752b005-1">
            <o:Username>USERNAME</o:Username>
            <o:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">PASSWORD</o:Password>
        </o:UsernameToken>
    </o:Security>```

Is there a way to add the password type without editing the ClearUsernameBinding DLL ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.