Barracuda Application Server C/C++ Reference
LoginTrackerNode Struct Reference

Detailed Description

A LoginTrackerNode keeps track of how many times a user using a specific IP address has attempted to login to the server.

The LoginTracker stores LoginTrackerNodes internally in a cache.

#include <AuthenticatedUser.h>

Public Member Functions

U32 getCounter ()
 Returns the number of login attempts.
U32 getAuxCounter ()
 Get auxiliary counter.
void setAuxCounter (U32 count)
 Set auxiliary counter.
HttpSockaddr * getAddr ()
 Return the HttpSockaddr.
void setUserData (void *data)
 Store application data in this node.
void * getUserData ()
 Fetch stored application data in this node.
BaTime getTime ()
 Returns the time for the latest login attempt.