live
UserAuthenticationDatabase Class Reference

#include <GenericMediaServer.hh>

Collaboration diagram for UserAuthenticationDatabase:

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 206 of file GenericMediaServer.hh.

Constructor & Destructor Documentation

◆ UserAuthenticationDatabase()

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

References False, NULL, passwordsAreMD5(), and realm().

◆ ~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 222 of file GenericMediaServer.hh.

References fPasswordsAreMD5.

Referenced by UserAuthenticationDatabase().

◆ realm()

char const * UserAuthenticationDatabase::realm ( )
inline

Definition at line 221 of file GenericMediaServer.hh.

References fRealm.

Referenced by UserAuthenticationDatabase().

◆ removeUserRecord()

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

Field Documentation

◆ fPasswordsAreMD5

Boolean UserAuthenticationDatabase::fPasswordsAreMD5
protected

Definition at line 227 of file GenericMediaServer.hh.

Referenced by passwordsAreMD5().

◆ fRealm

char* UserAuthenticationDatabase::fRealm
protected

Definition at line 226 of file GenericMediaServer.hh.

Referenced by realm().

◆ fTable

HashTable* UserAuthenticationDatabase::fTable
protected

Definition at line 225 of file GenericMediaServer.hh.


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