--- a/src/DAF/CDAP/Auth.h
+++ b/src/DAF/CDAP/Auth.h
@@ -17,15 +17,35 @@
#define __RINA_AUTH_H_
#include <omnetpp.h>
+#include "CDAPMessage_m.h"
+#include "AuthListeners.h"
+#include "ExternConsts.h"
+#include "RINASignals.h"
+#include "AE.h"
+
/**
* TODO - Generated class
*/
+class LisAuthValidate;
class Auth : public cSimpleModule
{
+public:
+ void validate(CDAPMessage *cmsg);
protected:
+ int authType;
+ std::string authName;
+ std::string authPassword;
+ std::string authOther;
+
+ simsignal_t sigAuthRes;
+
+ LisAuthValidate* lisAuthValidate;
virtual void initialize();
virtual void handleMessage(cMessage *msg);
+ void initSignalsAndListeners();
+ void initParameters();
+ void signalizeAuthResult(CDAPMessage *cmsg);
};
#endif