Apply manual validators even when schema was used. 2.2.1
authorScott Cantor <cantor.2@osu.edu>
Thu, 13 Aug 2009 18:54:18 +0000 (18:54 +0000)
committerScott Cantor <cantor.2@osu.edu>
Thu, 13 Aug 2009 18:54:18 +0000 (18:54 +0000)
adfs/adfs.cpp

index c551ecc..bc84c2f 100644 (file)
@@ -576,8 +576,7 @@ XMLObject* ADFSDecoder::decode(string& relayState, const GenericRequest& generic
         throw BindingException("Decoded message was not of the appropriate type.");
     }
 
-    if (!policy.getValidating())
-        SchemaValidators.validate(xmlObject.get());
+    SchemaValidators.validate(xmlObject.get());
 
     // Skip policy step here, there's no security in the wrapper.
     // policy.evaluate(*xmlObject.get(), &genericRequest);