-
Notifications
You must be signed in to change notification settings - Fork 556
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SecurityBindingElement.CreateUserNameOverTransportBindingElement() not supported. #1257
Comments
Thanks for reporting this, @feinoujc! As we're focusing on wrapping up the 1.0.0-rtm milestone, we won't look at what's involved in turning this on yet for the moment, but we'll keep it in our backlog - once we think about how this fits into the overall roadmap, we'll report back. |
@iamjasonp -- I am starting work on this. Please let me know if this duplicates any work you have done already. |
@feinoujc -- thanks for such great details. I can repro what you described, and I'm working on this now. Is it possible for you to include (without disclosing any sensitive information) what the server-side looks like to match? Ideally, I want to make a new functional test that replicates your scenario exactly, so I'd like to configure a server-wide endpoint to match yours. |
@roncain the server side in this case is a 3rd party web service that I don't have any insight into. I'm not sure what I could provide here. Would the wsdl help at all? |
@feinoujc -- yes, the wsdl could be useful to make some choices on our end. Is this 3rd party web service endpoint publically available (say for me to attempt to reach it)? The .asmx angle here could be interesting to ensure we're supporting and testing what's required to interact with the site. |
@roncain Sure, it is public so I don't see a problem sharing it. here you go: https://ncarb--tst.custhelp.com/cgi-bin/ncarb.cfg/services/soap?wsdl It might be worth mentioning I had massive issues using the WCF Connected Service add on with this wsdl. Not surprising due to the underlying limitations of WCF dotnet core at that time. |
Thanks @feinoujc -- I'll start looking at it now. Sorry to hear about the WCF Connected Service issues. Feel free to open new issues directly in this current repo, and we'll find the right owner. Some existing known issues can be seen in this query. /cc: @mlacouture @zhenlan |
The most recent code additions to enable this scenario are in the https://github.com/dotnet/wcf/tree/ws-trust branch. Significant work remains to light up the rest of ws-trust, but the scenario described by this issue works in that branch, both sync and async |
Hey everyone, any update on this for the 2.1? |
Any news on this, or a workaround? It is a very common scenario that has been blocking us for a good while. We have many projects depending on usernameovertransport. Even the docs states it should work with .net core Is there an underlying issue that we can track to see the state of work? Is there something that we can provide to help it being prioritized? Thanks! |
We are limited by the lack of System.IdentityModel classes and I am currently actively investigating multiple options to work around this limitation. The option I'm currently attempting to prototype is to build on top of System.Security.Cryptography.Xml.SignedXml instead of the internal SignedXml implementation inside of System.IdentityModel. |
Thank you for the response @mconnew . Do you think it might be feasible to setup a quick and high-level markdown showing the operating state of the different security modes. I think it would help a lot of people, including me, to have a glance at which scenarios are working on .NET Core and which are not, instead of having to crawl the github issues or getting burned by a I can help to format it in a table or something if you have the infos. Cheers. |
Hey @mfjerome we have a chart of supported features that we update with each release. It doesn't go into great detail but it does show that Message Security isn't currently supported. |
@mconnew Encouraging to hear that work on this is underway. I'm running into this issue with the VMware vSphere 6.0 API - if you have a working prototype I'd be happy to give it a try. |
Linking to parent issue #8 as this is one scenario of TransportSecurityWithMessageCredential |
Code is in, needs unit tests. |
@imcarolwang @HongGit |
Unit tests done. Thanks @imcarolwang |
It's actually #3688 . :) |
I'm having the same issue using .Net Core 3.1.201 on Windows 1809 build 17763.1158 |
possibly related to #9 but I wasn't sure so I'm opening this because I wasn't sure what the roadmap was.
I get this error when trying to use the
SecurityBindingElement.CreateUserNameOverTransportBindingElement();
binding element as part of a CustomBinding(running on OSX with .NET core RC2)
Here is my code
error:
The text was updated successfully, but these errors were encountered: