From: cantor Date: Tue, 15 Jan 2008 20:54:53 +0000 (+0000) Subject: Rename authnskew. X-Git-Tag: 2.4~598 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fsp.git;a=commitdiff_plain;h=1bc4f3f102b55dcf1ae14dd268b1f1ef95ea924f Rename authnskew. git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/trunk@2687 cb58f699-b61c-0410-a6fe-9272a202ed29 --- diff --git a/adfs/adfs.cpp b/adfs/adfs.cpp index 74d3a4b..7fee451 100644 --- a/adfs/adfs.cpp +++ b/adfs/adfs.cpp @@ -583,7 +583,7 @@ void ADFSConsumer::implementProtocol( // authnskew allows rejection of SSO if AuthnInstant is too old. const PropertySet* sessionProps = application.getPropertySet("Sessions"); - pair authnskew = sessionProps ? sessionProps->getUnsignedInt("authnskew") : pair(false,0); + pair authnskew = sessionProps ? sessionProps->getUnsignedInt("maxTimeSinceAuthn") : pair(false,0); if (authnskew.first && authnskew.second && ssoStatement->getAuthenticationInstant() && (now - ssoStatement->getAuthenticationInstantEpoch() > authnskew.second)) diff --git a/schemas/shibboleth-2.0-native-sp-config.xsd b/schemas/shibboleth-2.0-native-sp-config.xsd index 652024e..353b582 100644 --- a/schemas/shibboleth-2.0-native-sp-config.xsd +++ b/schemas/shibboleth-2.0-native-sp-config.xsd @@ -526,7 +526,7 @@ - + diff --git a/shibsp/handler/impl/SAML1Consumer.cpp b/shibsp/handler/impl/SAML1Consumer.cpp index 7788b7e..74f13f8 100644 --- a/shibsp/handler/impl/SAML1Consumer.cpp +++ b/shibsp/handler/impl/SAML1Consumer.cpp @@ -157,7 +157,7 @@ void SAML1Consumer::implementProtocol( // authnskew allows rejection of SSO if AuthnInstant is too old. const PropertySet* sessionProps = application.getPropertySet("Sessions"); - pair authnskew = sessionProps ? sessionProps->getUnsignedInt("authnskew") : pair(false,0); + pair authnskew = sessionProps ? sessionProps->getUnsignedInt("maxTimeSinceAuthn") : pair(false,0); // Saves off error messages potentially helpful for users. string contextualError; diff --git a/shibsp/handler/impl/SAML2Consumer.cpp b/shibsp/handler/impl/SAML2Consumer.cpp index 0b5a416..735196c 100644 --- a/shibsp/handler/impl/SAML2Consumer.cpp +++ b/shibsp/handler/impl/SAML2Consumer.cpp @@ -147,7 +147,7 @@ void SAML2Consumer::implementProtocol( // authnskew allows rejection of SSO if AuthnInstant is too old. const PropertySet* sessionProps = application.getPropertySet("Sessions"); - pair authnskew = sessionProps ? sessionProps->getUnsignedInt("authnskew") : pair(false,0); + pair authnskew = sessionProps ? sessionProps->getUnsignedInt("maxTimeSinceAuthn") : pair(false,0); // Saves off error messages potentially helpful for users. string contextualError;