X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=blobdiff_plain;f=saml%2Fsaml2%2Fbinding%2Fimpl%2FSAML2POSTDecoder.cpp;h=99a5f3c0f03cfa7610a9be20e8419c92f096b2ac;hp=43c9a2da36b2ffb84a3603662ea80694af6cfdaa;hb=615c4bc8bcbcabce8da0ef95946eaa028c616aa4;hpb=1eec8cff8b46eeea53865cfcfa887c5ac24d1f35 diff --git a/saml/saml2/binding/impl/SAML2POSTDecoder.cpp b/saml/saml2/binding/impl/SAML2POSTDecoder.cpp index 43c9a2d..99a5f3c 100644 --- a/saml/saml2/binding/impl/SAML2POSTDecoder.cpp +++ b/saml/saml2/binding/impl/SAML2POSTDecoder.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2001-2007 Internet2 + * Copyright 2001-2009 Internet2 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -122,8 +122,7 @@ XMLObject* SAML2POSTDecoder::decode( root = static_cast(request); } - if (!policy.getValidating()) - SchemaValidators.validate(root); + SchemaValidators.validate(root); // Run through the policy. extractMessageDetails(*root, genericRequest, samlconstants::SAML20P_NS, policy);