|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IConnectionLogDAO
| Method Summary | |
|---|---|
void |
insertLog(ConnectionLog connectionLog,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table of connections |
void |
resetConnectionLogs(java.lang.String strIp,
java.sql.Timestamp dateLogin,
int nIntervalMinutes,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update connection logs of an IP to allow the user to login. |
int |
selectLoginErrors(ConnectionLog connectionLog,
int nIntervalMinutes,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Calculate the number of connections with a given ip_address by a determinate time |
| Method Detail |
|---|
void insertLog(ConnectionLog connectionLog,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
connectionLog - the ConnectionLog Objectplugin - The plugin
int selectLoginErrors(ConnectionLog connectionLog,
int nIntervalMinutes,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
connectionLog - The Log of connectionnIntervalMinutes - The number of minutes since the last connectionplugin - The plugin
void resetConnectionLogs(java.lang.String strIp,
java.sql.Timestamp dateLogin,
int nIntervalMinutes,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strIp - Ip to cleandateLogin - Date of the last login. Anly logs between this date plus or minus the minute interval will be cleared.nIntervalMinutes - Minutes intervalplugin - The plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||