improve wall filter

This commit is contained in:
wenshao
2013-03-29 18:16:51 +08:00
parent 889c1e0ad7
commit f85701cb1c
75 changed files with 1058 additions and 279 deletions
@@ -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;
}