public class SqlInjectionAnalyzer
extends java.lang.Object
| 构造器和说明 |
|---|
SqlInjectionAnalyzer() |
| 限定符和类型 | 方法和说明 |
|---|---|
ParserSupport.SqlParserInfo |
injectAnalyse(ParserSupport.SqlParserInfo sqlParserInfo)
对解析后的SQL对象执行注入攻击分析,有注入攻击的危险则抛出异常
InjectionAttackException |
SqlInjectionAnalyzer |
injectCheckEnable(boolean enable)
启用/关闭注入攻击检查,默认启动
|
public SqlInjectionAnalyzer injectCheckEnable(boolean enable)
enable - public ParserSupport.SqlParserInfo injectAnalyse(ParserSupport.SqlParserInfo sqlParserInfo) throws InjectionAttackException
InjectionAttackExceptionsqlParserInfo - InjectionAttackExceptionCopyright © 2022. All Rights Reserved.