#include "internal.h"
#include <saml/SAMLConfig.h>
-#include <saml/security/AbstractPKIXTrustEngine.h>
+#include <saml/saml2/metadata/Metadata.h>
#include <saml/saml2/metadata/MetadataProvider.h>
+#include <xmltooling/security/AbstractPKIXTrustEngine.h>
using namespace opensaml::saml2;
using namespace opensaml::saml2md;
}
};
- PKIXValidationInfoIterator* getPKIXValidationInfoIterator(const RoleDescriptor& role) const {
+ PKIXValidationInfoIterator* getPKIXValidationInfoIterator(const KeyInfoSource& keyInfoSource) const {
+ dynamic_cast<const RoleDescriptor&>(keyInfoSource);
return new SampleIterator();
}
};
}
// Build trust engine.
- auto_ptr<opensaml::TrustEngine> trustEngine(new SampleTrustEngine());
+ auto_ptr<TrustEngine> trustEngine(new SampleTrustEngine());
// Get signed assertion.
config = data_path + "signature/SAML2Assertion.xml";