diff options
| author | Vincent Richard <[email protected]> | 2005-09-17 09:08:45 +0000 |
|---|---|---|
| committer | Vincent Richard <[email protected]> | 2005-09-17 09:08:45 +0000 |
| commit | 0edaa87860dbfd4871c597a9f2fbec07fca67ed6 (patch) | |
| tree | 0babae1fdc77724b92be66d90a03e0891dc8d0b8 /src/net/session.cpp | |
| parent | Input buffer size. (diff) | |
| download | vmime-0edaa87860dbfd4871c597a9f2fbec07fca67ed6.tar.gz vmime-0edaa87860dbfd4871c597a9f2fbec07fca67ed6.zip | |
SASL authentication.
Diffstat (limited to 'src/net/session.cpp')
| -rw-r--r-- | src/net/session.cpp | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/net/session.cpp b/src/net/session.cpp index 2c46bf60..f6b0fdd1 100644 --- a/src/net/session.cpp +++ b/src/net/session.cpp @@ -50,13 +50,14 @@ session::~session() } -ref <transport> session::getTransport(ref <authenticator> auth) +ref <transport> session::getTransport(ref <security::authenticator> auth) { return (getTransport(m_props["transport.protocol"], auth)); } -ref <transport> session::getTransport(const string& protocol, ref <authenticator> auth) +ref <transport> session::getTransport + (const string& protocol, ref <security::authenticator> auth) { ref <session> sess = thisRef().dynamicCast <session>(); ref <service> sv = serviceFactory::getInstance()->create(sess, protocol, auth); @@ -68,7 +69,8 @@ ref <transport> session::getTransport(const string& protocol, ref <authenticator } -ref <transport> session::getTransport(const utility::url& url, ref <authenticator> auth) +ref <transport> session::getTransport + (const utility::url& url, ref <security::authenticator> auth) { ref <session> sess = thisRef().dynamicCast <session>(); ref <service> sv = serviceFactory::getInstance()->create(sess, url, auth); @@ -80,13 +82,14 @@ ref <transport> session::getTransport(const utility::url& url, ref <authenticato } -ref <store> session::getStore(ref <authenticator> auth) +ref <store> session::getStore(ref <security::authenticator> auth) { return (getStore(m_props["store.protocol"], auth)); } -ref <store> session::getStore(const string& protocol, ref <authenticator> auth) +ref <store> session::getStore + (const string& protocol, ref <security::authenticator> auth) { ref <session> sess = thisRef().dynamicCast <session>(); ref <service> sv = serviceFactory::getInstance()->create(sess, protocol, auth); @@ -98,7 +101,8 @@ ref <store> session::getStore(const string& protocol, ref <authenticator> auth) } -ref <store> session::getStore(const utility::url& url, ref <authenticator> auth) +ref <store> session::getStore + (const utility::url& url, ref <security::authenticator> auth) { ref <session> sess = thisRef().dynamicCast <session>(); ref <service> sv = serviceFactory::getInstance()->create(sess, url, auth); |
