mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
WallConfig support strictSyntaxCheck
This commit is contained in:
@@ -50,6 +50,7 @@ public class WallConfig implements WallConfigMBean {
|
||||
private boolean truncateAllow = false;
|
||||
|
||||
private boolean commentAllow = false;
|
||||
private boolean strictSyntaxCheck = true;
|
||||
|
||||
private boolean describeAllow = false;
|
||||
|
||||
@@ -357,6 +358,14 @@ public class WallConfig implements WallConfigMBean {
|
||||
this.commentAllow = commentAllow;
|
||||
}
|
||||
|
||||
public boolean isStrictSyntaxCheck() {
|
||||
return strictSyntaxCheck;
|
||||
}
|
||||
|
||||
public void setStrictSyntaxCheck(boolean strictSyntaxCheck) {
|
||||
this.strictSyntaxCheck = strictSyntaxCheck;
|
||||
}
|
||||
|
||||
public Set<String> getDenyFunctions() {
|
||||
return denyFunctions;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user