6#include <icomp/CComponentBase.h>
9#include <imtbase/IObjectCollection.h>
10#include <imtauth/ICredentialController.h>
11#include <imtcrypt/IHashGenerator.h>
18class CCredentialControllerComp:
19 public icomp::CComponentBase,
20 public imtauth::ICredentialController
23 typedef icomp::CComponentBase BaseClass;
25 I_BEGIN_COMPONENT(CCredentialControllerComp);
26 I_REGISTER_INTERFACE(imtauth::ICredentialController);
27 I_ASSIGN(m_hashCalculatorCompPtr,
"HashCalculator",
"Hash calculator",
true,
"HashCalculator");
28 I_ASSIGN(m_userCollectionCompPtr,
"UserCollection",
"User collection",
true,
"UserCollection");
33 virtual bool CheckCredential(
const QByteArray& login,
const QByteArray& password)
const override;