After upgrading from R5.0.13 to R7.0.2 my authentication filter is no longer working.The code is the same as found in most filters I can find on the internet:
int HttpFilterProc(FilterContext* context, unsigned int eventType, void* eventData) {
switch (eventType)
{
case kFilterAuthenticate:
case kFilterAuthUser:
return Authenticate(context, (FilterAuthenticate*)eventData);
default:
return kFilterNotHandled;
}
}
The following lines of code in Authenticate always returns because for some reason the authData->foundInCache is always true:
if (!authData || authData->foundInCache) {
return kFilterNotHandled;
}
Does anybody know anything about changes that might affect the behaviour of the filters? Is this a config problem.