Logo Search packages:      
Sourcecode: kmess version File versions

SslLoginHandler Class Reference
[network]

#include <sslloginhandler.h>

List of all members.


Detailed Description

This class handles the SSL portion of the login.

Author:
Mike K. Bennett

Definition at line 35 of file sslloginhandler.h.


Signals

void loginFailed ()
void loginIncorrect ()
void loginSucceeded (QString authentication)
void loginUnavailable ()

Public Member Functions

void login (QString parameters, QString handle, QString password)

Private Types

enum  Mode { NONE = 0, GETLOGINSERVER = 1, GETAUTHENTICATIONDATA = 2 }

Private Slots

void dataReceived ()
void socketError (int error)

Private Member Functions

void parseAuthenticationData (QString data)
void parseHttpResponse (QString data)
void parseLoginServerData (QString &host, QString &page, QString serverData)
QString readSslData ()
void sendAuthenticationRequest (QString loginServer, QString page)
void sendHttpRequest (QString request, QString host, int port)
void sendLoginServerRequest (QString hostname)
void writeSslData (QString data)

Private Attributes

QString authenticationParameters_
QStringList cookies_
QString handle_
enum SslLoginHandler::Mode mode_
QString password_
KExtendedSocket * socket_
KSSL * ssl_

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

Generated by  Doxygen 1.6.0   Back to index