Class SlardarFirstBloodProp
-
- All Implemented Interfaces:
@ConfigurationProperties(value = SlardarFirstBloodProp.Key) public class SlardarFirstBloodProp extends SimpleResponse
Resource protection features, such as CAPTCHA, wings-firstblood-79.properties
- Since:
2021-02-14
trydofor
-
-
Field Summary
Fields Modifier and Type Field Description public final static StringKeypublic StringclientTicketKeypublic final static StringKey$clientTicketKeypublic StringquestCaptchaKeypublic final static StringKey$questCaptchaKeypublic StringcheckCaptchaKeypublic final static StringKey$checkCaptchaKeypublic Stringbase64CaptchaKeypublic final static StringKey$base64CaptchaKeypublic Stringbase64CaptchaBodypublic final static StringKey$base64CaptchaBodypublic final static StringKey$chineseCaptchapublic final static StringKey$caseIgnorepublic StringcaptchaPrefixpublic final static StringKey$captchaPrefix
-
Constructor Summary
Constructors Constructor Description SlardarFirstBloodProp()
-
Method Summary
Modifier and Type Method Description StringgetClientTicketKey()key of the header and session used to identify the user. voidsetClientTicketKey(String clientTicketKey)key of the header and session used to identify the user. StringgetQuestCaptchaKey()key to generate image CAPTCHA, timestamp or specific prefix. voidsetQuestCaptchaKey(String questCaptchaKey)key to generate image CAPTCHA, timestamp or specific prefix. StringgetCheckCaptchaKey()key to verify image CAPTCHA, client input the code. voidsetCheckCaptchaKey(String checkCaptchaKey)key to verify image CAPTCHA, client input the code. StringgetBase64CaptchaKey()key to return image in base64, used in fresh-captcha-image=base64+timestamp voidsetBase64CaptchaKey(String base64CaptchaKey)key to return image in base64, used in fresh-captcha-image=base64+timestamp StringgetBase64CaptchaBody()format of returned base64 image, with `{base64}` placeholder. voidsetBase64CaptchaBody(String base64CaptchaBody)format of returned base64 image, with `{base64}` placeholder. StringgetCaptchaPrefix()scene prefix for image graphic captcha. voidsetCaptchaPrefix(String captchaPrefix)scene prefix for image graphic captcha. booleanisChineseCaptcha()whether to use Chinese char. booleanisCaseIgnore()whether to ignore case. StringtoString()booleanequals(@Nullable() Object o)inthashCode()voidsetChineseCaptcha(boolean chineseCaptcha)whether to use Chinese char. voidsetCaseIgnore(boolean caseIgnore)whether to ignore case. -
Methods inherited from class pro.fessional.wings.slardar.webmvc.SimpleResponse
fillIfAbsent, getContentType, getHttpStatus, getResponseBody, setContentType, setHttpStatus, setResponseBody -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getClientTicketKey
String getClientTicketKey()
key of the header and session used to identify the user.
-
setClientTicketKey
void setClientTicketKey(String clientTicketKey)
key of the header and session used to identify the user.
-
getQuestCaptchaKey
String getQuestCaptchaKey()
key to generate image CAPTCHA, timestamp or specific prefix.
-
setQuestCaptchaKey
void setQuestCaptchaKey(String questCaptchaKey)
key to generate image CAPTCHA, timestamp or specific prefix.
-
getCheckCaptchaKey
String getCheckCaptchaKey()
key to verify image CAPTCHA, client input the code.
-
setCheckCaptchaKey
void setCheckCaptchaKey(String checkCaptchaKey)
key to verify image CAPTCHA, client input the code.
-
getBase64CaptchaKey
String getBase64CaptchaKey()
key to return image in base64, used in fresh-captcha-image=base64+timestamp
-
setBase64CaptchaKey
void setBase64CaptchaKey(String base64CaptchaKey)
key to return image in base64, used in fresh-captcha-image=base64+timestamp
-
getBase64CaptchaBody
String getBase64CaptchaBody()
format of returned base64 image, with `{base64}` placeholder. The default configuration will output `data:image/jpeg;base64,/9j/4AAQSkZ.....`
-
setBase64CaptchaBody
void setBase64CaptchaBody(String base64CaptchaBody)
format of returned base64 image, with `{base64}` placeholder. The default configuration will output `data:image/jpeg;base64,/9j/4AAQSkZ.....`
-
getCaptchaPrefix
String getCaptchaPrefix()
scene prefix for image graphic captcha.
-
setCaptchaPrefix
void setCaptchaPrefix(String captchaPrefix)
scene prefix for image graphic captcha.
-
isChineseCaptcha
boolean isChineseCaptcha()
whether to use Chinese char.
-
isCaseIgnore
boolean isCaseIgnore()
whether to ignore case.
-
hashCode
int hashCode()
-
setChineseCaptcha
void setChineseCaptcha(boolean chineseCaptcha)
whether to use Chinese char.
-
setCaseIgnore
void setCaseIgnore(boolean caseIgnore)
whether to ignore case.
-
-
-
-