|
Openfire 3.6.3 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jivesoftware.admin.LoginLimitManager
public class LoginLimitManager
Handles recording admin console login attempts and handling temporary lockouts where necessary.
Method Summary | |
---|---|
static LoginLimitManager |
getInstance()
Returns a singleton instance of LoginLimitManager. |
boolean |
hasHitConnectionLimit(String username,
String address)
Returns true of the entered username or connecting IP address has hit it's attempt limit. |
void |
recordFailedAttempt(String username,
String address)
Records a failed connection attempt. |
void |
recordSuccessfulAttempt(String username,
String address)
Clears failed login attempts if a success occurs. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static LoginLimitManager getInstance()
public boolean hasHitConnectionLimit(String username, String address)
username
- Username being checked.address
- IP address that is connecting.
public void recordFailedAttempt(String username, String address)
username
- Username being attempted.address
- IP address that is attempting.public void recordSuccessfulAttempt(String username, String address)
username
- Username being attempted.address
- IP address that is attempting.
|
Openfire 3.6.3 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |