X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=adfs%2Fadfs.cpp;h=006c3bd71714786465320a7430be38290aa188a9;hb=41c829319fd0eb4a3d0a5b206c0683d58dfc8399;hp=41c78e6108d1afbc9c52951a529f6723c89bda87;hpb=f30f2eccedeba087846b23bee6bc9e214ee19e54;p=shibboleth%2Fcpp-sp.git diff --git a/adfs/adfs.cpp b/adfs/adfs.cpp index 41c78e6..006c3bd 100644 --- a/adfs/adfs.cpp +++ b/adfs/adfs.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2001-2009 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. @@ -322,7 +322,7 @@ extern "C" void ADFS_EXPORTS xmltooling_extension_term() pair ADFSSessionInitiator::run(SPRequest& request, string& entityID, bool isHandler) const { // We have to know the IdP to function. - if (entityID.empty()) + if (entityID.empty() || !checkCompatibility(request, isHandler)) return make_pair(false,0L); string target;