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 interceptData], [any buffer])
If logins fails, add entry to database with username and IP,. |
any
|
cbadmin_onLogin([any event], [any interceptData], [any buffer])
Listen to successful logins. |
any
|
cbadmin_preLogin([any event], [any interceptData], [any buffer])
Before login check if user has been blocked. |
any
|
configure()
Configure interceptor. |
any
|
postProcess([any event], [any interceptData])
Listen to end of requests to do log rotation for auth logs for login events only. |
Methods inherited from class coldbox.system.Interceptor |
---|
appendToBuffer, clearBuffer, getBufferObject, getBufferString, getCachebox, getFlash, getInterceptorService, getLog, getLogBox, getProperties, getProperty, getWirebox, init, propertyExists, setCachebox, setFlash, setInterceptorService, setLog, setLogBox, setProperties, setProperty, setWirebox, unregister |
Methods inherited from class coldbox.system.FrameworkSupertype |
---|
addAsset, announceInterception, getCache, getController, getInstance, getInterceptor, getModel, getModuleConfig, getModuleSettings, getMyPlugin, getPlugin, getRenderer, getRequestCollection, getRequestContext, getSetting, getSettingStructure, includeUDF, loadApplicationHelpers, locateDirectoryPath, locateFilePath, persistVariables, populateModel, relocate, renderExternalView, renderLayout, renderView, runEvent, setController, setNextEvent, setSetting, settingExists |
Methods inherited from class lucee.Component |
---|
None |
Property Detail |
---|
access
- publicrequired
- falsereturntype
- anyinject
- cbhelper@cbserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- id:loginTrackerService@cbserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- messagebox@cbMessageboxserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- id:securityService@cbserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- id:settingService@cbserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- SystemUtil@cbserializable
- 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
interceptData
buffer
Listen to successful logins
event
interceptData
buffer
Before login check if user has been blocked. It will verify login attempts by username and IP address and block accordingly.
event
interceptData
buffer
Configure interceptor
configure
in class
coldbox.system.Interceptor
Listen to end of requests to do log rotation for auth logs for login events only.
event
interceptData