/*
- * Copyright 2001-2005 Internet2
+ * Copyright 2001-2007 Internet2
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
SAML1Consumer(const DOMElement* e);
~SAML1Consumer();
pair<bool,long> run(SPRequest& request, bool isHandler=true) const;
- DDF receive(const DDF& in);
+ void receive(DDF& in, ostream& out);
private:
string m_address;
static int counter;
* key
* provider_id
*/
-DDF SAML1Consumer::receive(const DDF& in)
+void SAML1Consumer::receive(DDF& in, ostream& sink)
{
#ifdef _DEBUG
xmltooling::NDC ndc("receive");
out.addmember("key").string(key.c_str());
out.addmember("provider_id").string(oname.get());
- return out;
+ sink << out;
}
pair<bool,long> SAML1Consumer::run(SPRequest& request, bool isHandler) const