mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improve WallFilter
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user