ServerAuthHandlerDefault Class Reference

#include <ServerAuthHandlerDefault.h>

Inheritance diagram for ServerAuthHandlerDefault:


List of all members.

Public Member Functions

 ServerAuthHandlerDefault ()
virtual ~ServerAuthHandlerDefault ()
virtual void createAuthentication (ComsConnectAuthMessage &authMessage)
virtual bool authenticateUser (ComsConnectAuthMessage &authMessage, std::string &message)
virtual bool authenticateUserName (const char *uniqueId, const LangString &playername)
virtual void banUser (const char *uniqueId)

Detailed Description

Definition at line 26 of file ServerAuthHandlerDefault.h.

Constructor & Destructor Documentation

ServerAuthHandlerDefault::ServerAuthHandlerDefault (  ) 

Definition at line 25 of file ServerAuthHandlerDefault.cpp.

ServerAuthHandlerDefault::~ServerAuthHandlerDefault (  )  [virtual]

Definition at line 29 of file ServerAuthHandlerDefault.cpp.

Member Function Documentation

void ServerAuthHandlerDefault::createAuthentication ( ComsConnectAuthMessage authMessage  )  [virtual]

Implements ServerAuthHandler.

Definition at line 33 of file ServerAuthHandlerDefault.cpp.

References ScorchedServer::instance(), and ComsConnectAuthMessage::setPassword().

bool ServerAuthHandlerDefault::authenticateUser ( ComsConnectAuthMessage authMessage,
std::string message 
) [virtual]

Implements ServerAuthHandler.

Definition at line 41 of file ServerAuthHandlerDefault.cpp.

References ScorchedContext::getOptionsGame(), ComsConnectAuthMessage::getPassword(), ScorchedServer::instance(), and LangStringUtil::strcmp().

bool ServerAuthHandlerDefault::authenticateUserName ( const char *  uniqueId,
const LangString playername 
) [virtual]

Implements ServerAuthHandler.

Definition at line 64 of file ServerAuthHandlerDefault.cpp.

void ServerAuthHandlerDefault::banUser ( const char *  uniqueId  )  [virtual]

Implements ServerAuthHandler.

Definition at line 70 of file ServerAuthHandlerDefault.cpp.

The documentation for this class was generated from the following files:
Generated on Mon Feb 16 15:15:06 2009 for Scorched3D by  doxygen 1.5.3