org.benow.web.security
Class LoginWaitException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.benow.web.security.LoginWaitException
All Implemented Interfaces:
java.io.Serializable

public class LoginWaitException
extends java.lang.Exception

Indicates that login is denied until a given time. Prevents login ddos hacking.

Author:
andy
See Also:
Serialized Form

Constructor Summary
LoginWaitException(long validAfterTime)
           
 
Method Summary
 java.lang.String getUntilRetry()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LoginWaitException

public LoginWaitException(long validAfterTime)
Method Detail

getUntilRetry

public java.lang.String getUntilRetry()
Returns:
string representation of the number time until login may succeed