X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=saml%2Fsaml2%2Fbinding%2Fimpl%2FSAML2MessageDecoder.cpp;h=05253b2da3c602f1f32a82f7c8bb78d01d344a37;hb=5e62d2c1fb43763b3d627e641a310a79992b01c0;hp=9e24de4964e109ba1e19812c5a13c00e91ead301;hpb=003e73203da5cdf8c3d001a75a56b9e45ef6465b;p=shibboleth%2Fcpp-opensaml.git diff --git a/saml/saml2/binding/impl/SAML2MessageDecoder.cpp b/saml/saml2/binding/impl/SAML2MessageDecoder.cpp index 9e24de4..05253b2 100644 --- a/saml/saml2/binding/impl/SAML2MessageDecoder.cpp +++ b/saml/saml2/binding/impl/SAML2MessageDecoder.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2001-2007 Internet2 + * Copyright 2001-2010 Internet2 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,7 +21,7 @@ */ #include "internal.h" -#include "exceptions.h" +#include "binding/SecurityPolicy.h" #include "saml2/binding/SAML2MessageDecoder.h" #include "saml2/core/Protocols.h" #include "saml2/metadata/Metadata.h" @@ -38,12 +38,25 @@ using namespace xmltooling::logging; using namespace xmltooling; using namespace std; +SAML2MessageDecoder::SAML2MessageDecoder() +{ +} + +SAML2MessageDecoder::~SAML2MessageDecoder() +{ +} + +const XMLCh* SAML2MessageDecoder::getProtocolFamily() const +{ + return samlconstants::SAML20P_NS; +} + void SAML2MessageDecoder::extractMessageDetails( const XMLObject& message, const GenericRequest& request, const XMLCh* protocol, SecurityPolicy& policy ) const { // Only handle SAML 2.0 messages. - const QName& q = message.getElementQName(); + const xmltooling::QName& q = message.getElementQName(); if (!XMLString::equals(q.getNamespaceURI(), samlconstants::SAML20P_NS)) return;