mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improve wall filter
This commit is contained in:
@@ -47,7 +47,7 @@ public class WallConfig implements WallConfigMBean {
|
||||
private boolean minusAllow = false;
|
||||
private boolean intersectAllow = false;
|
||||
private boolean replaceAllow = true;
|
||||
private boolean setAllow = true;
|
||||
private boolean setAllow = true;
|
||||
|
||||
private boolean multiStatementAllow = false;
|
||||
|
||||
@@ -58,6 +58,7 @@ public class WallConfig implements WallConfigMBean {
|
||||
private boolean constArithmeticAllow = true;
|
||||
|
||||
private boolean describeAllow = false;
|
||||
private boolean showAllow = false;
|
||||
|
||||
private boolean schemaCheck = true;
|
||||
private boolean tableCheck = true;
|
||||
@@ -244,6 +245,14 @@ public class WallConfig implements WallConfigMBean {
|
||||
this.describeAllow = describeAllow;
|
||||
}
|
||||
|
||||
public boolean isShowAllow() {
|
||||
return showAllow;
|
||||
}
|
||||
|
||||
public void setShowAllow(boolean showAllow) {
|
||||
this.showAllow = showAllow;
|
||||
}
|
||||
|
||||
public boolean isTruncateAllow() {
|
||||
return truncateAllow;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user