diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2009-06-23 21:30:21 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2009-06-23 21:33:14 -0700 |
commit | 98c45a40f5d7bca42dbc2e1eee981f013d1484bd (patch) | |
tree | 1d3f071b0eafa356ccc1e5dc2631b0a0326b3ff7 /src | |
parent | a1c6ce73ce7b23187f8b060c73bd18f233b6aa01 (diff) | |
download | DotNetOpenAuth-98c45a40f5d7bca42dbc2e1eee981f013d1484bd.zip DotNetOpenAuth-98c45a40f5d7bca42dbc2e1eee981f013d1484bd.tar.gz DotNetOpenAuth-98c45a40f5d7bca42dbc2e1eee981f013d1484bd.tar.bz2 |
Fixed GSA profile to not require SSL on RP discovery when DisableSslRequirement is true.
Diffstat (limited to 'src')
-rw-r--r-- | src/DotNetOpenAuth/OpenId/Behaviors/GsaIcamProfile.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DotNetOpenAuth/OpenId/Behaviors/GsaIcamProfile.cs b/src/DotNetOpenAuth/OpenId/Behaviors/GsaIcamProfile.cs index a92446d..5baefcb 100644 --- a/src/DotNetOpenAuth/OpenId/Behaviors/GsaIcamProfile.cs +++ b/src/DotNetOpenAuth/OpenId/Behaviors/GsaIcamProfile.cs @@ -185,7 +185,7 @@ namespace DotNetOpenAuth.OpenId.Behaviors { ErrorUtilities.VerifyProtocol(string.Equals(hostProcessedRequest.Realm.Scheme, Uri.UriSchemeHttps, StringComparison.Ordinal) || DisableSslRequirement, BehaviorStrings.RealmMustBeHttps); // Apply GSA-specific security to this individual request. - request.SecuritySettings.RequireSsl = true; + request.SecuritySettings.RequireSsl = !DisableSslRequirement; return true; } } |