Fix issuer auto-extraction from token.
authorScott Cantor <cantor.2@osu.edu>
Sun, 15 May 2011 20:41:18 +0000 (20:41 +0000)
committerScott Cantor <cantor.2@osu.edu>
Sun, 15 May 2011 20:41:18 +0000 (20:41 +0000)
src/shibresolver/resolver.cpp

index 0c7ec52..79c3537 100644 (file)
@@ -405,7 +405,7 @@ void RemotedResolver::resolve(
         log.warn("no metadata providers are configured");
     }
     else {
-        if (!issuerstr.empty()) {
+        if (issuerstr.empty()) {
             // Attempt to locate an issuer based on input token.
             for (vector<const XMLObject*>::const_iterator t = tokens.begin(); t!=tokens.end(); ++t) {
                 const saml2::Assertion* assertion = dynamic_cast<const saml2::Assertion*>(*t);