Add explicit none option for transport authn.
authorcantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Sat, 8 Mar 2008 03:43:55 +0000 (03:43 +0000)
committercantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Sat, 8 Mar 2008 03:43:55 +0000 (03:43 +0000)
git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/trunk@2764 cb58f699-b61c-0410-a6fe-9272a202ed29

shibsp/binding/impl/SOAPClient.cpp

index 63e7405..3cef3d4 100644 (file)
@@ -159,7 +159,7 @@ void SOAPClient::prepareTransport(SOAPTransport& transport)
             type = SOAPTransport::transport_auth_ntlm;
         else if (!strcmp(authType.second,"gss"))
             type = SOAPTransport::transport_auth_gss;
-        else
+        else if (strcmp(authType.second,"none"))
             log.error("unknown authType (%s) specified for RelyingParty", authType.second);
         if (type > SOAPTransport::transport_auth_none) {
             if (transport.setAuth(type,username.second,password.second))