lucee.Componentcoldbox.system.FrameworkSupertype
coldbox.system.Interceptor
contentbox.models.security.LoginTracker
ContentBox - A Modular Content Platform Copyright since 2012 by Ortus Solutions, Corp www.ortussolutions.com/products/contentbox --- Listens to login attempts to keep track of them via the Login Tracker System
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
any
|
cb
|
true
|
false
|
|
any
|
loginTrackerService
|
true
|
false
|
|
any
|
messagebox
|
true
|
false
|
|
any
|
securityService
|
true
|
false
|
|
any
|
settingService
|
true
|
false
|
|
any
|
systemUtil
|
true
|
false
|
Method Summary | |
---|---|
void
|
cbadmin_onBadLogin([any event], [any data], [any buffer])
If logins fails, add entry to database with username and IP,. |
any
|
cbadmin_onLogin([any event], [any data], [any buffer])
Listen to successful logins. |
any
|
cbadmin_preLogin([any event], [any data], [any buffer])
Before login check if user has been blocked. |
any
|
configure()
Configure interceptor. |
Methods inherited from class coldbox.system.Interceptor |
---|
cbLoadInterceptorHelpers, getProperties, getProperty, init, propertyExists, setProperties, setProperty, unregister |
Methods inherited from class coldbox.system.FrameworkSupertype |
---|
announce, announceInterception, async, back, externalView, forAttribute, getCache, getCachebox, getColdBoxSetting, getController, getDateTimeHelper, getEnv, getFlash, getFlow, getInstance, getIsoTime, getJsonUtil, getLog, getLogBox, getModuleConfig, getModuleSettings, getRenderer, getRequestCollection, getRequestContext, getRootWireBox, getSetting, getSystemProperty, getSystemSetting, getUserSessionIdentifier, getWirebox, ifNull, ifPresent, inDebugMode, includeUDF, isDevelopment, isProduction, isTesting, layout, listen, loadApplicationHelpers, locateDirectoryPath, locateFilePath, persistVariables, populate, populateModel, relocate, renderExternalView, renderLayout, renderview, runEvent, runRoute, setCachebox, setController, setEnv, setFlash, setFlow, setJsonUtil, setLog, setLogBox, setSetting, setWirebox, settingExists, throwIf, throwUnless, toJson, unless, view, when |
Methods inherited from class lucee.Component |
---|
None |
Property Detail |
---|
access
- publicrequired
- falsereturntype
- anyinject
- cbhelper@contentboxserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- id:loginTrackerService@contentboxserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- messagebox@cbMessageboxserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- id:securityService@contentboxserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- id:settingService@contentboxserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- SystemUtil@contentboxserializable
- trueMethod Detail |
---|
If logins fails, add entry to database with username and IP, so we can verify later if they will be blocked by username or ip misuses the blockByIp and blockByUsername entities are prepared on pre-login
event
data
buffer
Listen to successful logins
event
data
buffer
Before login check if user has been blocked. It will verify login attempts by username and IP address and block accordingly.
event
data
buffer
Configure interceptor
configure
in class
coldbox.system.Interceptor