1 #ifndef __DFTPD__AUTH_HPP__
2 #define __DFTPD__AUTH_HPP__
5 #include <boost/shared_ptr.hpp>
6 #include <boost/weak_ptr.hpp>
13 virtual bool Login( const std::string
& login
) = 0;
14 virtual bool Password( const std::string
& login
, const std::string
& password
) = 0;
15 virtual std::string
GetRoot( const std::string
& login
) = 0;
18 typedef boost::shared_ptr
<Auth
> AuthPtr
;
19 typedef boost::weak_ptr
<Auth
> AuthWPtr
;