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))
transport.setConnectTimeout(timeout.first ? timeout.second : 10);
timeout = m_relyingParty->getUnsignedInt("timeout");
transport.setTimeout(timeout.first ? timeout.second : 20);
- m_app.getServiceProvider().setTransportOptions(m_app.getString("policyId").second, transport);
+ m_app.getServiceProvider().setTransportOptions(transport);
HTTPSOAPTransport* http = dynamic_cast<HTTPSOAPTransport*>(&transport);
if (http) {