From 9c1df5dbad5c5d0ece11f422a9c3fa7efe138ae1 Mon Sep 17 00:00:00 2001 From: Scott Cantor Date: Wed, 11 Jul 2007 04:36:39 +0000 Subject: [PATCH] Parameterize config namespace for message plugins. Schema and config for logout. Draft SAML logout implementation. --- configs/example-metadata.xml.in | 13 +- configs/shibboleth2.xml.in | 22 +- schemas/shibboleth-2.0-native-sp-config.xsd | 9 +- shibsp/Makefile.am | 1 + shibsp/SessionCache.h | 38 +- shibsp/handler/Handler.h | 9 - shibsp/handler/LogoutHandler.h | 26 +- shibsp/handler/impl/AbstractHandler.cpp | 9 +- shibsp/handler/impl/AssertionConsumerService.cpp | 4 +- shibsp/handler/impl/LogoutHandler.cpp | 15 +- shibsp/handler/impl/SAML2ArtifactResolution.cpp | 8 +- shibsp/handler/impl/SAML2Logout.cpp | 595 ++++++ shibsp/handler/impl/SAML2LogoutInitiator.cpp | 3 +- shibsp/handler/impl/SAML2SessionInitiator.cpp | 4 +- shibsp/impl/StorageServiceSessionCache.cpp | 2143 +++++++++++----------- shibsp/shibsp-lite.vcproj | 4 + shibsp/shibsp.vcproj | 4 + 17 files changed, 1816 insertions(+), 1091 deletions(-) create mode 100644 shibsp/handler/impl/SAML2Logout.cpp diff --git a/configs/example-metadata.xml.in b/configs/example-metadata.xml.in index bc97357..4f61001 100644 --- a/configs/example-metadata.xml.in +++ b/configs/example-metadata.xml.in @@ -217,7 +217,18 @@ gmYsTmak+kxO93JprrOd9xp8aZPMEprL7VCdrhbZEfyYER0= - + + + + + + + + urn:oasis:names:tc:SAML:2.0:nameid-format:transient urn:mace:shibboleth:1.0:nameIdentifier diff --git a/configs/shibboleth2.xml.in b/configs/shibboleth2.xml.in index 083cee4..bce69d1 100644 --- a/configs/shibboleth2.xml.in +++ b/configs/shibboleth2.xml.in @@ -126,7 +126,7 @@ - + @@ -146,11 +146,27 @@ + + + + + + + + + + + + - @@ -171,7 +187,7 @@ + signRequests="front" encryptRequests="front" signResponses="true" encryptResponses="true">