Package ganeti :: Package rapi :: Package auth :: Module users_file :: Class RapiUsers
[hide private]
[frames] | no frames]

Class RapiUsers

source code


Instance Methods [hide private]
 
__init__(self)
Initializes this class.
source code
 
Get(self, username)
Checks whether a user exists.
source code
 
Load(self, filename)
Loads a file containing users and passwords.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

Initializes this class.

Overrides: object.__init__

Load(self, filename)

source code 

Loads a file containing users and passwords.

Parameters:
  • filename (string) - Path to file