com.konakartadmin.bl
Class AdminSecurityMgr.LoginAttempt
java.lang.Object
com.konakartadmin.bl.AdminSecurityMgr.LoginAttempt
- Enclosing class:
- AdminSecurityMgr
protected class AdminSecurityMgr.LoginAttempt
- extends java.lang.Object
Class that contains the login attempt, information for a user so that we can block hackers
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lastAttempt
private long lastAttempt
numberAttempts
private int numberAttempts
AdminSecurityMgr.LoginAttempt
public AdminSecurityMgr.LoginAttempt()
isBlocked
public boolean isBlocked()
throws KKAdminException
- Register another login attempt
- Returns:
- True if blocked
- Throws:
KKAdminException
getLastAttempt
public long getLastAttempt()
- Returns:
- Returns the lastAttempt.
setLastAttempt
public void setLastAttempt(long lastAttempt)
- Parameters:
lastAttempt
- The lastAttempt to set.
getNumberAttempts
public int getNumberAttempts()
- Returns:
- Returns the numberAttempts.
setNumberAttempts
public void setNumberAttempts(int numberAttempts)
- Parameters:
numberAttempts
- The numberAttempts to set.
Copyright © 2011 DS Data Systems UK Ltd.