MoleQueue  0.8.0
 All Classes Functions Variables Enumerations Enumerator Pages
Signals | Public Member Functions | List of all members
Session Class Reference

#include <session.h>

Inheritance diagram for Session:

Signals

void authenticationComplete (const QString &token)
 
void authenticationError (const QString &errorString)
 

Public Member Functions

 Session (const QString &username, const QString &realm, QObject *parentObject=0)
 
void authenticate (QObject *completeReceiver, const char *completeSlot, QObject *errorReceiver, const char *errorSlot)
 
QString kerberosPrinciple ()
 
QString token ()
 
UitapiService * uitService ()
 

Detailed Description

The Session class encapsulates a UIT authentication token that can be share across multiple requests.

<molequeue/queue/uit/session.h>

Constructor & Destructor Documentation

Session ( const QString &  username,
const QString &  realm,
QObject *  parentObject = 0 
)
Parameters
usernameThe Kerberos user name.
realmThe Kerbero realm.
parentObjectThe parent object.

Member Function Documentation

void authenticate ( QObject *  completeReceiver,
const char *  completeSlot,
QObject *  errorReceiver,
const char *  errorSlot 
)

Called to authenticate the session with the UIT server.

Parameters
completeReceiverA pointer to the QObject that will receive the complete() signal when the authentication process is complete.
completeSlotA slot on the completeReceiver class that will be called when the authentication process is complete.
errorReceiverA pointer to the QObject that will receive error signal during the authentication process if an error occurs.

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