Remoto - VFS: VFS_nopasswd.h Source File
Remoto - VFS
VFS_nopasswd.h
Go to the documentation of this file.
1 #ifndef VFS_NOPASSWD_H
2 #define VFS_NOPASSWD_H
3 
4 #include "VFS_auth.h"
5 
6 class VFS_nopasswd : public VFS_auth
7 {
8  Q_OBJECT
9 
10  public:
11  Q_INVOKABLE explicit VFS_nopasswd(QString nopasswordFile);
12  virtual ~VFS_nopasswd();
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 _nopasswordFile;
22 
23  signals:
24 
25  public slots:
26 };
27 
28 #endif // VFS_NOPASSWD_H
The base class for authenticating users.
Definition: VFS_auth.h:7
The VFS_nopasswd authenticator uses a nopasswd file to store username, uidnumber, a real name,...
Definition: VFS_nopasswd.h:7
virtual void ls(VFS_request *r)
List the users available for this auth method.
Q_INVOKABLE VFS_nopasswd(QString nopasswordFile)
virtual QString reportDetails()
Additional details for a generated report.
virtual ~VFS_nopasswd()
QString _nopasswordFile
The filesystem path to the nopasswd file.
Definition: VFS_nopasswd.h:21
virtual void read(VFS_request *r)
Perform an authentication request by read()ing from this node.
The base class for all requests between nodes.
Definition: VFS_node.h:54