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:
@@ -53,6 +53,8 @@ public class WallConfig implements WallConfigMBean {
|
||||
private boolean intersectAllow = false;
|
||||
private boolean replaceAllow = true;
|
||||
private boolean setAllow = true;
|
||||
private boolean commitAllow = true;
|
||||
private boolean useAllow = false;
|
||||
|
||||
private boolean multiStatementAllow = false;
|
||||
|
||||
@@ -104,6 +106,23 @@ public class WallConfig implements WallConfigMBean {
|
||||
public WallConfig(){
|
||||
|
||||
}
|
||||
|
||||
public boolean isUseAllow() {
|
||||
return useAllow;
|
||||
}
|
||||
|
||||
public void setUseAllow(boolean useAllow) {
|
||||
this.useAllow = useAllow;
|
||||
}
|
||||
|
||||
|
||||
public boolean isCommitAllow() {
|
||||
return commitAllow;
|
||||
}
|
||||
|
||||
public void setCommitAllow(boolean commitAllow) {
|
||||
this.commitAllow = commitAllow;
|
||||
}
|
||||
|
||||
public boolean isIntersectAllow() {
|
||||
return intersectAllow;
|
||||
|
||||
Reference in New Issue
Block a user