lucee.Component contentbox.models.BaseEntityMethods contentbox.models.BaseEntity contentbox.models.security.LoginAttempt
ContentBox - A Modular Content Platform Copyright since 2012 by Ortus Solutions, Corp www.ortussolutions.com/products/contentbox --- Store logins from admin attempts. Depending on system settings, users can be blocked via this entity
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
any
|
attempts
How many attempts in the system.
|
0
|
true
|
false
|
date
|
createdDate
|
true
|
false
|
|
boolean
|
isBlocked
Verifies if tracking is blocked or not.
|
false
|
true
|
false
|
any
|
isDeleted
|
false
|
true
|
false
|
any
|
lastLoginSuccessIP
Tracks the last successful login IP address.
|
true
|
false
|
|
any
|
loginAttemptsID
Primary key.
|
true
|
false
|
|
date
|
modifiedDate
|
true
|
false
|
|
any
|
value
The username attempt value.
|
true
|
false
|
Constructor Summary | |
---|---|
init()
Constructor. |
Method Summary | |
---|---|
string
|
getAttempts()
|
string
|
getIsBlocked()
|
string
|
getLastLoginSuccessIP()
|
string
|
getLoginAttemptsID()
|
any
|
getMemento([any excludes=''])
Get memento representation. |
string
|
getValue()
|
any
|
setAttempts(any attempts)
|
any
|
setIsBlocked(boolean isBlocked)
|
any
|
setLastLoginSuccessIP(any lastLoginSuccessIP)
|
any
|
setValue(any value)
|
Methods inherited from class contentbox.models.BaseEntity |
---|
getCreatedDate, getIsDeleted, getModifiedDate, setCreatedDate, setIsDeleted, setModifiedDate |
Methods inherited from class contentbox.models.BaseEntityMethods |
---|
getBaseMemento, getDisplayCreatedDate, getDisplayModifiedDate, isLoaded, preInsert, preUpdate |
Methods inherited from class lucee.Component |
---|
None |
Constructor Detail |
---|
Constructor
Property Detail |
---|
How many attempts in the system
access
- publicrequired
- falsereturntype
- anynotnull
- trueormtype
- integerserializable
- trueaccess
- publicrequired
- falsereturntype
- anynotnull
- trueormtype
- timestampupdate
- falseindex
- idx_createDateserializable
- trueVerifies if tracking is blocked or not
access
- publicrequired
- falsereturntype
- anypersistent
- falseserializable
- trueaccess
- publicrequired
- falsedbdefault
- 0returntype
- anynotnull
- trueormtype
- booleanindex
- idx_deletedserializable
- truesqltype
- bitTracks the last successful login IP address
access
- publicrequired
- falsereturntype
- anynotnull
- falselength
- 100serializable
- truePrimary key
access
- publicrequired
- falsefieldtype
- idreturntype
- anyparams
- { allocationSize = 1, sequence = 'loginAttemptsID_seq' }generator
- nativeserializable
- truesetter
- noaccess
- publicrequired
- falsereturntype
- anynotnull
- trueormtype
- timestampindex
- idx_modifiedDateserializable
- trueThe username attempt value
access
- publicrequired
- falsereturntype
- anynotnull
- trueindex
- idx_valueslength
- 255serializable
- trueMethod Detail |
---|
Get memento representation
excludes
attempts
isBlocked
lastLoginSuccessIP
value