if (amr.binding) {
auto_ptr_char loc(ep->getLocation());
amr.endpoint = loc.get();
- amr.callCtx = new ShibHTTPHook::ShibHTTPHookCallContext(credUse ? credUse->getString("TLS").second : NULL,idp);
+ amr.callCtx = m_ctx = new ShibHTTPHook::ShibHTTPHookCallContext(credUse ? credUse->getString("TLS").second : NULL,idp);
return amr;
}
}
amr.binding = m_app->getBinding(ep->getBinding());
if (amr.binding) {
amr.endpoint = loc.get();
- amr.callCtx = new ShibHTTPHook::ShibHTTPHookCallContext(credUse ? credUse->getString("TLS").second : NULL,idp);
+ amr.callCtx = m_ctx = new ShibHTTPHook::ShibHTTPHookCallContext(credUse ? credUse->getString("TLS").second : NULL,idp);
return amr;
}
}