Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/referencesource/System.ServiceModel/System/ServiceModel/Security/FederatedSecurityTokenManager.cs')
-rw-r--r--mcs/class/referencesource/System.ServiceModel/System/ServiceModel/Security/FederatedSecurityTokenManager.cs16
1 files changed, 8 insertions, 8 deletions
diff --git a/mcs/class/referencesource/System.ServiceModel/System/ServiceModel/Security/FederatedSecurityTokenManager.cs b/mcs/class/referencesource/System.ServiceModel/System/ServiceModel/Security/FederatedSecurityTokenManager.cs
index 734d4d21936..4cd988b21cd 100644
--- a/mcs/class/referencesource/System.ServiceModel/System/ServiceModel/Security/FederatedSecurityTokenManager.cs
+++ b/mcs/class/referencesource/System.ServiceModel/System/ServiceModel/Security/FederatedSecurityTokenManager.cs
@@ -439,9 +439,9 @@ namespace System.ServiceModel.Security
return _defaultTokenResolver;
}
/// <summary>
- /// There is a bug in WCF where the version obtained from the public SecurityTokenVersion strings is wrong.
- /// The internal MessageSecurityTokenVersion has the right version.
- /// </summary>
+ /// There is a
+
+
internal static SecurityVersion GetSecurityVersion( SecurityTokenVersion tokenVersion )
{
if ( tokenVersion == null )
@@ -450,11 +450,11 @@ namespace System.ServiceModel.Security
}
//
- // Workaround for WCF bug.
- // In .NET 3.5 WCF returns the wrong Token Specification. We need to reflect on the
- // internal code so we can access the SecurityVersion directly instead of depending
- // on the security specification.
- //
+ // Workaround for WCF
+
+
+
+
if ( tokenVersion is MessageSecurityTokenVersion )
{
SecurityVersion sv = ( tokenVersion as MessageSecurityTokenVersion ).SecurityVersion;