Remoto - VFS: VFS_passwd.h Source File
Remoto - VFS
VFS_passwd.h
Go to the documentation of this file.
1 #ifndef VFS_PASSWD_H
2 #define VFS_PASSWD_H
3 
4 #include "VFS_auth.h"
5 
6 class VFS_passwd : public VFS_auth
7 {
8  Q_OBJECT
9 
10  public:
11  Q_INVOKABLE explicit VFS_passwd(QString file);
12  virtual ~VFS_passwd();
13 
14  virtual QString reportDetails();
15 
16  protected:
17  virtual void ls(VFS_request *r);
18  virtual void read(VFS_request *r);
19 
20  private:
21  QString _passwordFile;
22 
23  signals:
24 
25  public slots:
26 };
27 
28 #endif // VFS_PASSWD_H
The base class for authenticating users.
Definition: VFS_auth.h:7
The VFS_passwd authenticator uses a passwd file to store username, hashed password,...
Definition: VFS_passwd.h:7
virtual ~VFS_passwd()
Definition: VFS_passwd.cpp:43
QString _passwordFile
The filesystem path to the passwd file.
Definition: VFS_passwd.h:21
virtual void ls(VFS_request *r)
List the users available for this auth method.
Definition: VFS_passwd.cpp:119
Q_INVOKABLE VFS_passwd(QString file)
Definition: VFS_passwd.cpp:37
virtual QString reportDetails()
Additional details for a generated report.
Definition: VFS_passwd.cpp:183
virtual void read(VFS_request *r)
Perform an authentication request by read()ing from this node.
Definition: VFS_passwd.cpp:63
The base class for all requests between nodes.
Definition: VFS_node.h:54