<attribute name="lifetime" type="unsignedInt" use="optional"/>
<attribute name="timeout" type="unsignedInt" use="optional"/>
<attribute name="checkAddress" type="boolean" use="optional"/>
+ <attribute name="oldAuthnRequest" type="boolean" use="optional"/>
</extension>
</complexContent>
</complexType>
if (wayf.first) {
m_authnRequest=m_authnRequest + wayf.second + "?shire=" + url_encode(getShireURL(resource)) +
"&target=" + url_encode(resource) + "&time=" + timebuf;
- wayf=m_app->getString("providerId");
- if (wayf.first)
- m_authnRequest=m_authnRequest + "&providerId=" + wayf.second;
+ pair<bool,bool> old=m_app->getBool("oldAuthnRequest");
+ if (!old.first || !old.second) {
+ wayf=m_app->getString("providerId");
+ if (wayf.first)
+ m_authnRequest=m_authnRequest + "&providerId=" + wayf.second;
+ }
}
}
return m_authnRequest.c_str();