mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improve sql-wall
This commit is contained in:
@@ -23,14 +23,18 @@ import com.alibaba.druid.sql.visitor.SQLASTVisitor;
|
||||
public interface WallVisitor extends SQLASTVisitor {
|
||||
|
||||
WallConfig getConfig();
|
||||
|
||||
|
||||
WallProvider getProvider();
|
||||
|
||||
List<Violation> getViolations();
|
||||
|
||||
|
||||
void addViolation(Violation violation);
|
||||
|
||||
|
||||
boolean isDenyTable(String name);
|
||||
|
||||
String toSQL(SQLObject obj);
|
||||
|
||||
boolean isSqlModified();
|
||||
|
||||
void setSqlModified(boolean sqlModified);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user