live
Public Member Functions | Protected Attributes
UserAuthenticationDatabase Class Reference

#include <GenericMediaServer.hh>

Collaboration diagram for UserAuthenticationDatabase:
Collaboration graph
[legend]

Public Member Functions

 UserAuthenticationDatabase (char const *realm=NULL, Boolean passwordsAreMD5=False)
 
virtual ~UserAuthenticationDatabase ()
 
virtual void addUserRecord (char const *username, char const *password)
 
virtual void removeUserRecord (char const *username)
 
virtual char const * lookupPassword (char const *username)
 
char const * realm ()
 
Boolean passwordsAreMD5 ()
 

Protected Attributes

HashTablefTable
 
char * fRealm
 
Boolean fPasswordsAreMD5
 

Detailed Description

Definition at line 198 of file GenericMediaServer.hh.

Constructor & Destructor Documentation

◆ UserAuthenticationDatabase()

UserAuthenticationDatabase::UserAuthenticationDatabase ( char const *  realm = NULL,
Boolean  passwordsAreMD5 = False 
)

◆ ~UserAuthenticationDatabase()

virtual UserAuthenticationDatabase::~UserAuthenticationDatabase ( )
virtual

Member Function Documentation

◆ addUserRecord()

virtual void UserAuthenticationDatabase::addUserRecord ( char const *  username,
char const *  password 
)
virtual

◆ lookupPassword()

virtual char const* UserAuthenticationDatabase::lookupPassword ( char const *  username)
virtual

◆ passwordsAreMD5()

Boolean UserAuthenticationDatabase::passwordsAreMD5 ( )
inline

Definition at line 214 of file GenericMediaServer.hh.

References fPasswordsAreMD5.

◆ realm()

char const* UserAuthenticationDatabase::realm ( )
inline

Definition at line 213 of file GenericMediaServer.hh.

213 { return fRealm; }

References fRealm.

◆ removeUserRecord()

virtual void UserAuthenticationDatabase::removeUserRecord ( char const *  username)
virtual

Field Documentation

◆ fPasswordsAreMD5

Boolean UserAuthenticationDatabase::fPasswordsAreMD5
protected

Definition at line 219 of file GenericMediaServer.hh.

Referenced by passwordsAreMD5().

◆ fRealm

char* UserAuthenticationDatabase::fRealm
protected

Definition at line 218 of file GenericMediaServer.hh.

Referenced by realm().

◆ fTable

HashTable* UserAuthenticationDatabase::fTable
protected

Definition at line 217 of file GenericMediaServer.hh.


The documentation for this class was generated from the following file: