Package | Description |
---|---|
com.yishuifengxiao.common.code.eunm | |
com.yishuifengxiao.common.code.processor | |
com.yishuifengxiao.common.security.filter.impl |
Modifier and Type | Method and Description |
---|---|
static CodeType |
CodeType.parse(String code)
根据名字解析出验证码类型
|
static CodeType |
CodeType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CodeType[] |
CodeType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
ValidateCode |
SimpleCodeProcessor.create(org.springframework.web.context.request.ServletWebRequest request,
CodeType codeType)
创建校验码并发送验证码
|
ValidateCode |
CodeProcessor.create(org.springframework.web.context.request.ServletWebRequest request,
CodeType codeType)
创建校验码并发送验证码
|
ValidateCode |
SimpleCodeProcessor.create(org.springframework.web.context.request.ServletWebRequest request,
String key,
CodeType codeType)
创建校验码并发送验证码
|
ValidateCode |
CodeProcessor.create(org.springframework.web.context.request.ServletWebRequest request,
String key,
CodeType codeType)
创建校验码并发送验证码
|
void |
SimpleCodeProcessor.validate(org.springframework.web.context.request.ServletWebRequest request,
CodeType codeType)
校验用户请求中携带的验证码是否正确
|
void |
CodeProcessor.validate(org.springframework.web.context.request.ServletWebRequest request,
CodeType codeType)
校验用户请求中携带的验证码是否正确
|
Modifier and Type | Method and Description |
---|---|
protected void |
ValidateCodeFilter.addUrlTpMap(String urlString,
CodeType validateCodeType)
将系统需要校验验证码的URL根据校验的类型放入map中
|
Copyright © 2021. All rights reserved.