Fixed 'requestAuthInfos()' not public.

This commit is contained in:
Vincent Richard 2005-08-26 19:28:54 +00:00
parent 99884b3d9b
commit dbdfee6fb5
3 changed files with 5 additions and 5 deletions

View File

@ -35,7 +35,7 @@ simpleAuthenticator::simpleAuthenticator(const string& username, const string& p
}
const authenticationInfos simpleAuthenticator::getAuthInfos() const
const authenticationInfos simpleAuthenticator::requestAuthInfos() const
{
return (authenticationInfos(m_username, m_password));
}

View File

@ -44,12 +44,12 @@ public:
defaultAuthenticator(weak_ref <session> session, const string& prefix);
const authenticationInfos requestAuthInfos() const;
private:
weak_ref <session> m_session;
const string m_prefix;
const authenticationInfos requestAuthInfos() const;
};

View File

@ -46,12 +46,12 @@ public:
const string& getPassword() const;
void setPassword(const string& password);
const authenticationInfos requestAuthInfos() const;
private:
string m_username;
string m_password;
const authenticationInfos getAuthInfos() const;
};