improve WallFilter

This commit is contained in:
wenshao
2012-12-18 21:41:34 +08:00
parent 5191b74cba
commit fb4bea6f90
7 changed files with 132 additions and 12 deletions
@@ -34,6 +34,8 @@ public class WallConfig implements WallConfigMBean {
private boolean selectHavingAlwayTrueCheck = true;
private boolean selectUnionCheck = true;
private boolean selectAllColumnAllow = true;
private boolean deleteAllow = true;
private boolean deleteWhereAlwayTrueCheck = true;
@@ -112,6 +114,14 @@ public class WallConfig implements WallConfigMBean {
this.allowDoPrivileged = allowDoPrivileged;
}
public boolean isSelectAllColumnAllow() {
return selectAllColumnAllow;
}
public void setSelectAllColumnAllow(boolean selectAllColumnAllow) {
this.selectAllColumnAllow = selectAllColumnAllow;
}
public boolean isInited() {
return inited;
}