diff --git a/ReleaseNotes.html b/ReleaseNotes.html
index dcd6d50ab6..c96dafd636 100644
--- a/ReleaseNotes.html
+++ b/ReleaseNotes.html
@@ -52,6 +52,16 @@
Release 4.9.2 (TBD)
Issue #11433:
fixed a regression in the treeview-dragdrop example where dropping a file on the folder view was not working anymore.
+
+ Issue #11496:
+ Saml::Service:
+ added missing implementation for
+ setAuthnContextComparison()
+ and properly implemented
+ setNameIdPolicyAllowCreate().
+
Release 4.9.1 (January 20, 2023)
diff --git a/src/Wt/Auth/Saml/Service.C b/src/Wt/Auth/Saml/Service.C
index 2097d72838..fadcfe1d5e 100644
--- a/src/Wt/Auth/Saml/Service.C
+++ b/src/Wt/Auth/Saml/Service.C
@@ -309,7 +309,7 @@ void Service::setNameIdPolicyFormat(const std::string &format)
void Service::setNameIdPolicyAllowCreate(bool allowCreate)
{
- nameIdPolicyAllowCreate_ = true;
+ nameIdPolicyAllowCreate_ = allowCreate;
}
void Service::setAuthnContextClassRef(const std::string &authnContextClassRef)
@@ -317,6 +317,11 @@ void Service::setAuthnContextClassRef(const std::string &authnContextClassRef)
authnContextClassRef_ = authnContextClassRef;
}
+void Service::setAuthnContextComparison(Wt::Auth::Saml::AuthnContextComparison comparison)
+{
+ authnContextComparison_ = comparison;
+}
+
void Service::setSPEntityId(const std::string &entityID)
{
spEntityId_ = entityID;
diff --git a/src/Wt/Auth/Saml/Service.h b/src/Wt/Auth/Saml/Service.h
index 19d400ced1..0039b782d5 100644
--- a/src/Wt/Auth/Saml/Service.h
+++ b/src/Wt/Auth/Saml/Service.h
@@ -438,7 +438,7 @@ class WT_API Service {
/*! \brief Sets the AllowCreate parameter for the name id policy in the authentication request.
*
- * This detauls to true.
+ * This defaults to true.
*
* \sa setNameIdPolicyFormat()
*/