com.alibaba.druid.wall
Class WallConfig
java.lang.Object
com.alibaba.druid.wall.WallConfig
- All Implemented Interfaces:
- WallConfigMBean
public class WallConfig
- extends Object
- implements WallConfigMBean
WallConfig
public WallConfig()
WallConfig
public WallConfig(String dir)
isInited
public boolean isInited()
- Specified by:
isInited in interface WallConfigMBean
getDir
public String getDir()
- Specified by:
getDir in interface WallConfigMBean
setDir
public void setDir(String dir)
- Specified by:
setDir in interface WallConfigMBean
init
public final void init()
- Specified by:
init in interface WallConfigMBean
loadConfig
public void loadConfig(String dir)
- Specified by:
loadConfig in interface WallConfigMBean
isNoneBaseStatementAllow
public boolean isNoneBaseStatementAllow()
- Specified by:
isNoneBaseStatementAllow in interface WallConfigMBean
setNoneBaseStatementAllow
public void setNoneBaseStatementAllow(boolean noneBaseStatementAllow)
- Specified by:
setNoneBaseStatementAllow in interface WallConfigMBean
isTruncateAllow
public boolean isTruncateAllow()
- Specified by:
isTruncateAllow in interface WallConfigMBean
setTruncateAllow
public void setTruncateAllow(boolean truncateAllow)
- Specified by:
setTruncateAllow in interface WallConfigMBean
isSelelctAllow
public boolean isSelelctAllow()
- Specified by:
isSelelctAllow in interface WallConfigMBean
setSelelctAllow
public void setSelelctAllow(boolean selelctAllow)
- Specified by:
setSelelctAllow in interface WallConfigMBean
isSelectIntoAllow
public boolean isSelectIntoAllow()
- Specified by:
isSelectIntoAllow in interface WallConfigMBean
setSelectIntoAllow
public void setSelectIntoAllow(boolean selectIntoAllow)
- Specified by:
setSelectIntoAllow in interface WallConfigMBean
isSelectIntoOutfileAllow
public boolean isSelectIntoOutfileAllow()
- Specified by:
isSelectIntoOutfileAllow in interface WallConfigMBean
setSelectIntoOutfileAllow
public void setSelectIntoOutfileAllow(boolean selectIntoOutfileAllow)
- Specified by:
setSelectIntoOutfileAllow in interface WallConfigMBean
isSelectUnionCheck
public boolean isSelectUnionCheck()
- Specified by:
isSelectUnionCheck in interface WallConfigMBean
setSelectUnionCheck
public void setSelectUnionCheck(boolean selectUnionCheck)
- Specified by:
setSelectUnionCheck in interface WallConfigMBean
isSelectWhereAlwayTrueCheck
public boolean isSelectWhereAlwayTrueCheck()
- Specified by:
isSelectWhereAlwayTrueCheck in interface WallConfigMBean
setSelectWhereAlwayTrueCheck
public void setSelectWhereAlwayTrueCheck(boolean selectWhereAlwayTrueCheck)
- Specified by:
setSelectWhereAlwayTrueCheck in interface WallConfigMBean
isSelectHavingAlwayTrueCheck
public boolean isSelectHavingAlwayTrueCheck()
- Specified by:
isSelectHavingAlwayTrueCheck in interface WallConfigMBean
setSelectHavingAlwayTrueCheck
public void setSelectHavingAlwayTrueCheck(boolean selectHavingAlwayTrueCheck)
- Specified by:
setSelectHavingAlwayTrueCheck in interface WallConfigMBean
isDeleteAllow
public boolean isDeleteAllow()
- Specified by:
isDeleteAllow in interface WallConfigMBean
setDeleteAllow
public void setDeleteAllow(boolean deleteAllow)
- Specified by:
setDeleteAllow in interface WallConfigMBean
isDeleteWhereAlwayTrueCheck
public boolean isDeleteWhereAlwayTrueCheck()
- Specified by:
isDeleteWhereAlwayTrueCheck in interface WallConfigMBean
setDeleteWhereAlwayTrueCheck
public void setDeleteWhereAlwayTrueCheck(boolean deleteWhereAlwayTrueCheck)
- Specified by:
setDeleteWhereAlwayTrueCheck in interface WallConfigMBean
isUpdateAllow
public boolean isUpdateAllow()
- Specified by:
isUpdateAllow in interface WallConfigMBean
setUpdateAllow
public void setUpdateAllow(boolean updateAllow)
- Specified by:
setUpdateAllow in interface WallConfigMBean
isUpdateWhereAlayTrueCheck
public boolean isUpdateWhereAlayTrueCheck()
- Specified by:
isUpdateWhereAlayTrueCheck in interface WallConfigMBean
setUpdateWhereAlayTrueCheck
public void setUpdateWhereAlayTrueCheck(boolean updateWhereAlayTrueCheck)
- Specified by:
setUpdateWhereAlayTrueCheck in interface WallConfigMBean
isInsertAllow
public boolean isInsertAllow()
- Specified by:
isInsertAllow in interface WallConfigMBean
setInsertAllow
public void setInsertAllow(boolean insertAllow)
- Specified by:
setInsertAllow in interface WallConfigMBean
isMergeAllow
public boolean isMergeAllow()
- Specified by:
isMergeAllow in interface WallConfigMBean
setMergeAllow
public void setMergeAllow(boolean mergeAllow)
- Specified by:
setMergeAllow in interface WallConfigMBean
isMultiStatementAllow
public boolean isMultiStatementAllow()
- Specified by:
isMultiStatementAllow in interface WallConfigMBean
setMultiStatementAllow
public void setMultiStatementAllow(boolean multiStatementAllow)
- Specified by:
setMultiStatementAllow in interface WallConfigMBean
isSchemaCheck
public boolean isSchemaCheck()
- Specified by:
isSchemaCheck in interface WallConfigMBean
setSchemaCheck
public void setSchemaCheck(boolean schemaCheck)
- Specified by:
setSchemaCheck in interface WallConfigMBean
isTableCheck
public boolean isTableCheck()
- Specified by:
isTableCheck in interface WallConfigMBean
setTableCheck
public void setTableCheck(boolean tableCheck)
- Specified by:
setTableCheck in interface WallConfigMBean
isFunctionCheck
public boolean isFunctionCheck()
- Specified by:
isFunctionCheck in interface WallConfigMBean
setFunctionCheck
public void setFunctionCheck(boolean functionCheck)
- Specified by:
setFunctionCheck in interface WallConfigMBean
isVariantCheck
public boolean isVariantCheck()
- Specified by:
isVariantCheck in interface WallConfigMBean
setVariantCheck
public void setVariantCheck(boolean variantCheck)
- Specified by:
setVariantCheck in interface WallConfigMBean
isObjectCheck
public boolean isObjectCheck()
- Specified by:
isObjectCheck in interface WallConfigMBean
setObjectCheck
public void setObjectCheck(boolean objectCheck)
- Specified by:
setObjectCheck in interface WallConfigMBean
isCommentAllow
public boolean isCommentAllow()
- Specified by:
isCommentAllow in interface WallConfigMBean
setCommentAllow
public void setCommentAllow(boolean commentAllow)
- Specified by:
setCommentAllow in interface WallConfigMBean
getPermitFunctions
public Set<String> getPermitFunctions()
- Specified by:
getPermitFunctions in interface WallConfigMBean
getPermitTables
public Set<String> getPermitTables()
- Specified by:
getPermitTables in interface WallConfigMBean
getPermitSchemas
public Set<String> getPermitSchemas()
- Specified by:
getPermitSchemas in interface WallConfigMBean
getPermitVariants
public Set<String> getPermitVariants()
- Specified by:
getPermitVariants in interface WallConfigMBean
getPermitObjects
public Set<String> getPermitObjects()
- Specified by:
getPermitObjects in interface WallConfigMBean
getReadOnlyTables
public Set<String> getReadOnlyTables()
- Specified by:
getReadOnlyTables in interface WallConfigMBean
isMustParameterized
public boolean isMustParameterized()
setMustParameterized
public void setMustParameterized(boolean mustParameterized)
isPermitObjects
public boolean isPermitObjects(String name)
- Specified by:
isPermitObjects in interface WallConfigMBean
isPermitSchema
public boolean isPermitSchema(String name)
- Specified by:
isPermitSchema in interface WallConfigMBean
isPermitFunction
public boolean isPermitFunction(String name)
- Specified by:
isPermitFunction in interface WallConfigMBean
isCallAllow
public boolean isCallAllow()
setCallAllow
public void setCallAllow(boolean callAllow)
Copyright © 2012 Alibaba Group. All Rights Reserved.