Barracuda Application Server C/C++ Reference
Native APIs, integration guides, and platform interfaces
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 ()
 Query the address failure/denial counter. More...
 
U32 getAuxCounter ()
 Query the application auxiliary counter. More...
 
void setAuxCounter (U32 count)
 Set the application auxiliary counter. More...
 
HttpSockaddr * getAddr ()
 Access the cached peer IP address. More...
 
void setUserData (void *data)
 Associate application data with the node. More...
 
void * getUserData ()
 Query application data. More...
 
BaTime getTime ()
 Query the latest recorded failed or denied attempt. More...