railo-context.Componentcontentbox.model.security.LoginAttempt
ContentBox - A Modular Content Platform Copyright 2012 by Luis Majano and Ortus Solutions, Corp www.ortussolutions.com Apache License, Version 2.0 Copyright Since [2012] [Luis Majano and Ortus Solutions,Corp] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Store logins from cbadmin. Entity used to prevent brute force
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
any
|
attempts
|
0
|
true
|
false
|
any
|
createdDate
|
true
|
false
|
|
boolean
|
isBlocked
|
false
|
true
|
false
|
any
|
lastLoginSuccessIP
|
true
|
false
|
|
any
|
loginAttemptsID
|
true
|
false
|
|
any
|
value
|
true
|
false
|
Constructor Summary | |
---|---|
init()
Constructor. |
Method Summary | |
---|---|
string
|
getAttempts()
|
string
|
getCreatedDate()
|
string
|
getDisplayCreatedDate()
Get formatted createdDate. |
string
|
getIsBlocked()
|
string
|
getLastLoginSuccessIP()
|
string
|
getLoginAttemptsID()
|
string
|
getValue()
|
boolean
|
isLoaded()
is loaded?. |
any
|
setAttempts(any attempts)
|
any
|
setCreatedDate(any createdDate)
|
any
|
setIsBlocked(boolean isBlocked)
|
any
|
setLastLoginSuccessIP(any lastLoginSuccessIP)
|
any
|
setValue(any value)
|
Methods inherited from class railo-context.Component |
---|
None |
Constructor Detail |
---|
Constructor
Property Detail |
---|
required
- falsenotnull
- trueormtype
- integerserializable
- truerequired
- falsenotnull
- trueormtype
- timestampindex
- idx_createdDateserializable
- truerequired
- falsepersistent
- falseserializable
- truerequired
- falsenotnull
- falselength
- 100serializable
- truerequired
- falsefieldtype
- idgenerator
- nativeserializable
- truesetter
- norequired
- falsenotnull
- trueindex
- idx_valueslength
- 255serializable
- trueMethod Detail |
---|
Get formatted createdDate
is loaded?
attempts
createdDate
isBlocked
lastLoginSuccessIP
value