com.alibaba.druid.wall
类 WallConfig
java.lang.Object
com.alibaba.druid.wall.WallConfig
- 所有已实现的接口:
- WallConfigMBean
public class WallConfig
- extends Object
- implements WallConfigMBean
WallConfig
public WallConfig()
WallConfig
public WallConfig(String dir)
isCaseConditionAllow
public boolean isCaseConditionAllow()
setCaseConditionAllow
public void setCaseConditionAllow(boolean caseConditionAllow)
isConditionDoubleConstAllow
public boolean isConditionDoubleConstAllow()
setConditionDoubleConstAllow
public void setConditionDoubleConstAllow(boolean conditionDoubleConstAllow)
isConditionLikeTrueAllow
public boolean isConditionLikeTrueAllow()
setConditionLikeTrueAllow
public void setConditionLikeTrueAllow(boolean conditionLikeTrueAllow)
isLimitZeroAllow
public boolean isLimitZeroAllow()
setLimitZeroAllow
public void setLimitZeroAllow(boolean limitZero)
isConditionAndAlwayTrueAllow
public boolean isConditionAndAlwayTrueAllow()
setConditionAndAlwayTrueAllow
public void setConditionAndAlwayTrueAllow(boolean conditionAndAlwayTrueAllow)
isConditionAndAlwayFalseAllow
public boolean isConditionAndAlwayFalseAllow()
setConditionAndAlwayFalseAllow
public void setConditionAndAlwayFalseAllow(boolean conditionAndAlwayFalseAllow)
isUseAllow
public boolean isUseAllow()
setUseAllow
public void setUseAllow(boolean useAllow)
isCommitAllow
public boolean isCommitAllow()
setCommitAllow
public void setCommitAllow(boolean commitAllow)
isRollbackAllow
public boolean isRollbackAllow()
setRollbackAllow
public void setRollbackAllow(boolean rollbackAllow)
isIntersectAllow
public boolean isIntersectAllow()
setIntersectAllow
public void setIntersectAllow(boolean intersectAllow)
isMinusAllow
public boolean isMinusAllow()
setMinusAllow
public void setMinusAllow(boolean minusAllow)
isConditionOpXorAllow
public boolean isConditionOpXorAllow()
setConditionOpXorAllow
public void setConditionOpXorAllow(boolean conditionOpXorAllow)
isConditionOpBitwseAllow
public boolean isConditionOpBitwseAllow()
setConditionOpBitwseAllow
public void setConditionOpBitwseAllow(boolean conditionOpBitwseAllow)
getTenantTablePattern
public String getTenantTablePattern()
setTenantTablePattern
public void setTenantTablePattern(String tenantTablePattern)
getTenantColumn
public String getTenantColumn()
setTenantColumn
public void setTenantColumn(String tenantColumn)
isMetadataAllow
public boolean isMetadataAllow()
setMetadataAllow
public void setMetadataAllow(boolean metadataAllow)
isWrapAllow
public boolean isWrapAllow()
setWrapAllow
public void setWrapAllow(boolean wrapAllow)
isDoPrivilegedAllow
public boolean isDoPrivilegedAllow()
setDoPrivilegedAllow
public void setDoPrivilegedAllow(boolean doPrivilegedAllow)
isSelectAllColumnAllow
public boolean isSelectAllColumnAllow()
setSelectAllColumnAllow
public void setSelectAllColumnAllow(boolean selectAllColumnAllow)
isInited
public boolean isInited()
- 指定者:
- 接口
WallConfigMBean 中的 isInited
getDir
public String getDir()
- 指定者:
- 接口
WallConfigMBean 中的 getDir
setDir
public void setDir(String dir)
- 指定者:
- 接口
WallConfigMBean 中的 setDir
init
public final void init()
- 指定者:
- 接口
WallConfigMBean 中的 init
loadConfig
public void loadConfig(String dir)
- 指定者:
- 接口
WallConfigMBean 中的 loadConfig
isNoneBaseStatementAllow
public boolean isNoneBaseStatementAllow()
- 指定者:
- 接口
WallConfigMBean 中的 isNoneBaseStatementAllow
setNoneBaseStatementAllow
public void setNoneBaseStatementAllow(boolean noneBaseStatementAllow)
- 指定者:
- 接口
WallConfigMBean 中的 setNoneBaseStatementAllow
isDescribeAllow
public boolean isDescribeAllow()
- allow mysql describe statement
- 返回:
- 从以下版本开始:
- 0.2.10
setDescribeAllow
public void setDescribeAllow(boolean describeAllow)
- set allow mysql describe statement
- 从以下版本开始:
- 0.2.10
isShowAllow
public boolean isShowAllow()
setShowAllow
public void setShowAllow(boolean showAllow)
isTruncateAllow
public boolean isTruncateAllow()
- 指定者:
- 接口
WallConfigMBean 中的 isTruncateAllow
setTruncateAllow
public void setTruncateAllow(boolean truncateAllow)
- 指定者:
- 接口
WallConfigMBean 中的 setTruncateAllow
isSelelctAllow
public boolean isSelelctAllow()
- 指定者:
- 接口
WallConfigMBean 中的 isSelelctAllow
setSelelctAllow
public void setSelelctAllow(boolean selelctAllow)
- 指定者:
- 接口
WallConfigMBean 中的 setSelelctAllow
isSelectIntoAllow
public boolean isSelectIntoAllow()
- 指定者:
- 接口
WallConfigMBean 中的 isSelectIntoAllow
setSelectIntoAllow
public void setSelectIntoAllow(boolean selectIntoAllow)
- 指定者:
- 接口
WallConfigMBean 中的 setSelectIntoAllow
isSelectIntoOutfileAllow
public boolean isSelectIntoOutfileAllow()
- 指定者:
- 接口
WallConfigMBean 中的 isSelectIntoOutfileAllow
setSelectIntoOutfileAllow
public void setSelectIntoOutfileAllow(boolean selectIntoOutfileAllow)
- 指定者:
- 接口
WallConfigMBean 中的 setSelectIntoOutfileAllow
isCreateTableAllow
public boolean isCreateTableAllow()
setCreateTableAllow
public void setCreateTableAllow(boolean createTableAllow)
isDropTableAllow
public boolean isDropTableAllow()
setDropTableAllow
public void setDropTableAllow(boolean dropTableAllow)
isAlterTableAllow
public boolean isAlterTableAllow()
setAlterTableAllow
public void setAlterTableAllow(boolean alterTableAllow)
isSelectUnionCheck
public boolean isSelectUnionCheck()
- 指定者:
- 接口
WallConfigMBean 中的 isSelectUnionCheck
setSelectUnionCheck
public void setSelectUnionCheck(boolean selectUnionCheck)
- 指定者:
- 接口
WallConfigMBean 中的 setSelectUnionCheck
isSelectMinusCheck
public boolean isSelectMinusCheck()
setSelectMinusCheck
public void setSelectMinusCheck(boolean selectMinusCheck)
isSelectExceptCheck
public boolean isSelectExceptCheck()
setSelectExceptCheck
public void setSelectExceptCheck(boolean selectExceptCheck)
isSelectIntersectCheck
public boolean isSelectIntersectCheck()
setSelectIntersectCheck
public void setSelectIntersectCheck(boolean selectIntersectCheck)
isSelectWhereAlwayTrueCheck
public boolean isSelectWhereAlwayTrueCheck()
- 指定者:
- 接口
WallConfigMBean 中的 isSelectWhereAlwayTrueCheck
setSelectWhereAlwayTrueCheck
public void setSelectWhereAlwayTrueCheck(boolean selectWhereAlwayTrueCheck)
- 指定者:
- 接口
WallConfigMBean 中的 setSelectWhereAlwayTrueCheck
isSelectHavingAlwayTrueCheck
public boolean isSelectHavingAlwayTrueCheck()
- 指定者:
- 接口
WallConfigMBean 中的 isSelectHavingAlwayTrueCheck
setSelectHavingAlwayTrueCheck
public void setSelectHavingAlwayTrueCheck(boolean selectHavingAlwayTrueCheck)
- 指定者:
- 接口
WallConfigMBean 中的 setSelectHavingAlwayTrueCheck
isDeleteAllow
public boolean isDeleteAllow()
- 指定者:
- 接口
WallConfigMBean 中的 isDeleteAllow
setDeleteAllow
public void setDeleteAllow(boolean deleteAllow)
- 指定者:
- 接口
WallConfigMBean 中的 setDeleteAllow
isDeleteWhereAlwayTrueCheck
public boolean isDeleteWhereAlwayTrueCheck()
- 指定者:
- 接口
WallConfigMBean 中的 isDeleteWhereAlwayTrueCheck
setDeleteWhereAlwayTrueCheck
public void setDeleteWhereAlwayTrueCheck(boolean deleteWhereAlwayTrueCheck)
- 指定者:
- 接口
WallConfigMBean 中的 setDeleteWhereAlwayTrueCheck
isDeleteWhereNoneCheck
public boolean isDeleteWhereNoneCheck()
setDeleteWhereNoneCheck
public void setDeleteWhereNoneCheck(boolean deleteWhereNoneCheck)
isUpdateAllow
public boolean isUpdateAllow()
- 指定者:
- 接口
WallConfigMBean 中的 isUpdateAllow
setUpdateAllow
public void setUpdateAllow(boolean updateAllow)
- 指定者:
- 接口
WallConfigMBean 中的 setUpdateAllow
isUpdateWhereAlayTrueCheck
public boolean isUpdateWhereAlayTrueCheck()
- 指定者:
- 接口
WallConfigMBean 中的 isUpdateWhereAlayTrueCheck
setUpdateWhereAlayTrueCheck
public void setUpdateWhereAlayTrueCheck(boolean updateWhereAlayTrueCheck)
- 指定者:
- 接口
WallConfigMBean 中的 setUpdateWhereAlayTrueCheck
isUpdateWhereNoneCheck
public boolean isUpdateWhereNoneCheck()
setUpdateWhereNoneCheck
public void setUpdateWhereNoneCheck(boolean updateWhereNoneCheck)
isInsertAllow
public boolean isInsertAllow()
- 指定者:
- 接口
WallConfigMBean 中的 isInsertAllow
setInsertAllow
public void setInsertAllow(boolean insertAllow)
- 指定者:
- 接口
WallConfigMBean 中的 setInsertAllow
isReplaceAllow
public boolean isReplaceAllow()
setReplaceAllow
public void setReplaceAllow(boolean replaceAllow)
isSetAllow
public boolean isSetAllow()
setSetAllow
public void setSetAllow(boolean value)
isMergeAllow
public boolean isMergeAllow()
- 指定者:
- 接口
WallConfigMBean 中的 isMergeAllow
setMergeAllow
public void setMergeAllow(boolean mergeAllow)
- 指定者:
- 接口
WallConfigMBean 中的 setMergeAllow
isMultiStatementAllow
public boolean isMultiStatementAllow()
- 指定者:
- 接口
WallConfigMBean 中的 isMultiStatementAllow
setMultiStatementAllow
public void setMultiStatementAllow(boolean multiStatementAllow)
- 指定者:
- 接口
WallConfigMBean 中的 setMultiStatementAllow
isSchemaCheck
public boolean isSchemaCheck()
- 指定者:
- 接口
WallConfigMBean 中的 isSchemaCheck
setSchemaCheck
public void setSchemaCheck(boolean schemaCheck)
- 指定者:
- 接口
WallConfigMBean 中的 setSchemaCheck
isTableCheck
public boolean isTableCheck()
- 指定者:
- 接口
WallConfigMBean 中的 isTableCheck
setTableCheck
public void setTableCheck(boolean tableCheck)
- 指定者:
- 接口
WallConfigMBean 中的 setTableCheck
isFunctionCheck
public boolean isFunctionCheck()
- 指定者:
- 接口
WallConfigMBean 中的 isFunctionCheck
setFunctionCheck
public void setFunctionCheck(boolean functionCheck)
- 指定者:
- 接口
WallConfigMBean 中的 setFunctionCheck
isVariantCheck
public boolean isVariantCheck()
- 指定者:
- 接口
WallConfigMBean 中的 isVariantCheck
setVariantCheck
public void setVariantCheck(boolean variantCheck)
- 指定者:
- 接口
WallConfigMBean 中的 setVariantCheck
isObjectCheck
public boolean isObjectCheck()
- 指定者:
- 接口
WallConfigMBean 中的 isObjectCheck
setObjectCheck
public void setObjectCheck(boolean objectCheck)
- 指定者:
- 接口
WallConfigMBean 中的 setObjectCheck
isCommentAllow
public boolean isCommentAllow()
- 指定者:
- 接口
WallConfigMBean 中的 isCommentAllow
setCommentAllow
public void setCommentAllow(boolean commentAllow)
- 指定者:
- 接口
WallConfigMBean 中的 setCommentAllow
isStrictSyntaxCheck
public boolean isStrictSyntaxCheck()
setStrictSyntaxCheck
public void setStrictSyntaxCheck(boolean strictSyntaxCheck)
isConstArithmeticAllow
public boolean isConstArithmeticAllow()
setConstArithmeticAllow
public void setConstArithmeticAllow(boolean constArithmeticAllow)
getDenyFunctions
public Set<String> getDenyFunctions()
- 指定者:
- 接口
WallConfigMBean 中的 getDenyFunctions
getDenyTables
public Set<String> getDenyTables()
- 指定者:
- 接口
WallConfigMBean 中的 getDenyTables
getDenySchemas
public Set<String> getDenySchemas()
- 指定者:
- 接口
WallConfigMBean 中的 getDenySchemas
getDenyVariants
public Set<String> getDenyVariants()
- 指定者:
- 接口
WallConfigMBean 中的 getDenyVariants
getDenyObjects
public Set<String> getDenyObjects()
- 指定者:
- 接口
WallConfigMBean 中的 getDenyObjects
getReadOnlyTables
public Set<String> getReadOnlyTables()
- 指定者:
- 接口
WallConfigMBean 中的 getReadOnlyTables
addReadOnlyTable
public void addReadOnlyTable(String tableName)
isReadOnly
public boolean isReadOnly(String tableName)
getPermitFunctions
public Set<String> getPermitFunctions()
getPermitTables
public Set<String> getPermitTables()
getPermitSchemas
public Set<String> getPermitSchemas()
getPermitVariants
public Set<String> getPermitVariants()
isMustParameterized
public boolean isMustParameterized()
setMustParameterized
public void setMustParameterized(boolean mustParameterized)
isDenyObjects
public boolean isDenyObjects(String name)
- 指定者:
- 接口
WallConfigMBean 中的 isDenyObjects
isDenySchema
public boolean isDenySchema(String name)
- 指定者:
- 接口
WallConfigMBean 中的 isDenySchema
isDenyFunction
public boolean isDenyFunction(String name)
- 指定者:
- 接口
WallConfigMBean 中的 isDenyFunction
isCallAllow
public boolean isCallAllow()
setCallAllow
public void setCallAllow(boolean callAllow)
Copyright © 2013 Alibaba Group. All Rights Reserved.