-
Notifications
You must be signed in to change notification settings - Fork 565
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
Exposing GenericXmlSecurityKeyIdentifierClause and virtual CloneCore(). #4247
Conversation
@@ -5,6 +5,8 @@ | |||
// ------------------------------------------------------------------------------ | |||
|
|||
|
|||
using System.Xml; | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't add using statements, we fully qualify everything.
@@ -227,4 +234,16 @@ public enum SecurityKeyType | |||
AsymmetricKey, | |||
BearerKey | |||
} | |||
public partial class GenericXmlSecurityKeyIdentifierClause : SecurityKeyIdentifierClause | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to declare that the Matches method has been overridden otherwise someone deriving from this class might get wrong behavior if calling base.Matches(). You should probably add the ReferenceXml property too otherwise you can't get the XmlElement back out if you want to.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated
added Matches
@mconnew thanks ! |
…). (#4247) * Exposing GenericXmlSecurityKeyIdentifierClause and virtual CloneCore().
…). (#4247) * Exposing GenericXmlSecurityKeyIdentifierClause and virtual CloneCore().
…). (#4247) * Exposing GenericXmlSecurityKeyIdentifierClause and virtual CloneCore().
* Add support for WS2007HttpBinding plus some cleanup * Expose LocalClientSecuritySettings.DetectReplays * Exposing GenericXmlSecurityKeyIdentifierClause and virtual CloneCore(). (#4247) * Exposing GenericXmlSecurityKeyIdentifierClause and virtual CloneCore(). Co-authored-by: Matt Connew <mconnew@microsoft.com> Co-authored-by: Mike Rousos <MikeRou@Microsoft.com> Co-authored-by: BrentSchmaltz <brentschmaltz@hotmail.com>
Exposing GenericXmlSecurityKeyIdentitfierClause is needed for WsFederationSecurityBinding effort as WsTrustChannelSecurityTokenProvider needs to set this clause type.
Exposing CloneCore() is needed so the derived WsTrustClientCredentails.CloneCore() will be called.