Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

SyncAuthentication Class Reference

#include </home/clem/local/src/opie/core/launcher/transferserver.h>

List of all members.

Static Public Member Functions

static int isAuthorized (QHostAddress peeraddress)
static bool checkPassword (const QString &pw)
static bool checkUser (const QString &user)
static QString serverId ()
static QString loginName ()
static QString ownerName ()
static int isAuthorized (QHostAddress peeraddress)
static bool checkPassword (const QString &pw)
static bool checkUser (const QString &user)
static QString serverId ()
static QString loginName ()
static QString ownerName ()


Member Function Documentation

static bool SyncAuthentication::checkPassword const QString pw  )  [static]
 

bool SyncAuthentication::checkPassword const QString pw  )  [static]
 

Definition at line 154 of file transferserver.cpp.

References QValueList< T >::begin(), crypt(), QValueList< T >::end(), FALSE, QString::fromLocal8Bit(), QString::isEmpty(), QString::left(), QString::local8Bit(), QString::mid(), QString::null, QValueList< T >::prepend(), Config::readListEntry(), Config::readNumEntry(), Config::setGroup(), tr, TRUE, and Config::writeEntry().

Referenced by ServerPI::process(), and QCopBridgePI::process().

static bool SyncAuthentication::checkUser const QString user  )  [static]
 

bool SyncAuthentication::checkUser const QString user  )  [static]
 

Definition at line 147 of file transferserver.cpp.

References FALSE, QString::isEmpty(), and loginName().

Referenced by ServerPI::process(), and QCopBridgePI::process().

static int SyncAuthentication::isAuthorized QHostAddress  peeraddress  )  [static]
 

int SyncAuthentication::isAuthorized QHostAddress  peeraddress  )  [static]
 

Definition at line 130 of file transferserver.cpp.

References Config::readNumEntry(), and Config::setGroup().

Referenced by QCopBridgePI::QCopBridgePI(), ServerPI::ServerPI(), ServerPI::verifyAuthorised(), and QCopBridgePI::verifyAuthorised().

static QString SyncAuthentication::loginName  )  [static]
 

QString SyncAuthentication::loginName  )  [static]
 

Definition at line 118 of file transferserver.cpp.

References QString::fromLocal8Bit().

Referenced by checkUser(), and QCopBridgePI::QCopBridgePI().

static QString SyncAuthentication::ownerName  )  [static]
 

QString SyncAuthentication::ownerName  )  [static]
 

Definition at line 105 of file transferserver.cpp.

References Global::applicationFileName(), QFile::exists(), Contact::fullName(), QString::null, and Contact::readVCard().

Referenced by QCopBridgePI::QCopBridgePI().

static QString SyncAuthentication::serverId  )  [static]
 

QString SyncAuthentication::serverId  )  [static]
 

Definition at line 92 of file transferserver.cpp.

References Opie::Core::OGlobal::generateUuid(), QString::isEmpty(), Config::readEntry(), Config::setGroup(), and Config::writeEntry().

Referenced by QCopBridgePI::QCopBridgePI().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:52:51 2005 for OPIE by  doxygen 1.4.2