[cpp-sp COMMIT] /branches/REL_2/shibsp/handler/impl/SAML2LogoutInitiator.cpp
noreply at shibboleth.net
noreply at shibboleth.net
Tue Jul 10 14:40:50 EDT 2012
Author: scantor
Date: Tue Jul 10 14:40:50 2012
New Revision: 3729
URL: http://svn.shibboleth.net/view/cpp-sp?rev=3729&view=rev
Log:
Send async flag only on front-channel
Modified:
branches/REL_2/shibsp/handler/impl/SAML2LogoutInitiator.cpp
Modified: branches/REL_2/shibsp/handler/impl/SAML2LogoutInitiator.cpp
URL: http://svn.shibboleth.net/view/cpp-sp/branches/REL_2/shibsp/handler/impl/SAML2LogoutInitiator.cpp?rev=3729&r1=3728&r2=3729&view=diff
==============================================================================
--- branches/REL_2/shibsp/handler/impl/SAML2LogoutInitiator.cpp (original)
+++ branches/REL_2/shibsp/handler/impl/SAML2LogoutInitiator.cpp Tue Jul 10 14:40:50 2012
@@ -530,7 +530,7 @@
msg->setID(SAMLConfig::getConfig().generateIdentifier());
msg->setIssueInstant(time(nullptr));
- if (m_async) {
+ if (m_async && encoder) {
msg->setExtensions(saml2p::ExtensionsBuilder::buildExtensions());
msg->getExtensions()->getUnknownXMLObjects().push_back(AsynchronousBuilder::buildAsynchronous());
}
More information about the commits
mailing list