public class SliderVerificationService
extends java.lang.Object
构造器和说明 |
---|
SliderVerificationService() |
限定符和类型 | 方法和说明 |
---|---|
boolean |
checkSliderVerification(java.util.Map<java.lang.String,java.lang.Object> sliderStatus)
滑块验证检测
|
java.util.Map<java.lang.String,java.lang.Object> |
createVerificationInfo()
生成滑块验证信息
|
static SliderVerificationService |
getInstance() |
void |
initTimer() |
boolean |
needSliderVerification(java.lang.String username)
是否需要滑块验证
|
void |
resetTimer() |
public static SliderVerificationService getInstance()
public void initTimer()
public void resetTimer()
public java.util.Map<java.lang.String,java.lang.Object> createVerificationInfo() throws java.lang.Exception
java.lang.Exception
public boolean needSliderVerification(java.lang.String username) throws java.lang.Exception
java.lang.Exception
public boolean checkSliderVerification(java.util.Map<java.lang.String,java.lang.Object> sliderStatus) throws java.lang.Exception
java.lang.Exception