类 WallConfig
java.lang.Object
com.alibaba.druid.wall.WallConfig
- 所有已实现的接口:
WallConfigMBean
-
嵌套类概要
嵌套类 -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidaddReadOnlyTable(String tableName) voidaddUpdateCheckCoumns(String columnInfo) voidconfigFromProperties(Properties properties) getDir()intintgetUpdateCheckTable(String tableName) final voidinit()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanboolean已过时。booleanbooleanbooleanbooleanbooleanbooleanbooleanisDenyFunction(String name) booleanisDenyObjects(String name) booleanisDenySchema(String name) booleanallow mysql describe statementbooleanbooleanbooleanbooleanbooleanisInited()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanisReadOnly(String tableName) booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanboolean已过时。use isSelectAllowbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanisUpdateCheckTable(String tableName) booleanbooleanbooleanbooleanbooleanbooleanvoidloadConfig(String dir) voidsetAlterTableAllow(boolean alterTableAllow) voidsetBlockAllow(boolean blockAllow) voidsetCallAllow(boolean callAllow) voidsetCaseConditionConstAllow(boolean caseConditionConstAllow) voidsetCommentAllow(boolean commentAllow) voidsetCommitAllow(boolean commitAllow) voidsetCompleteInsertValuesCheck(boolean completeInsertValuesCheck) voidsetConditionAndAlwayFalseAllow(boolean conditionAndAlwayFalseAllow) voidsetConditionAndAlwayTrueAllow(boolean conditionAndAlwayTrueAllow) voidsetConditionDoubleConstAllow(boolean conditionDoubleConstAllow) voidsetConditionLikeTrueAllow(boolean conditionLikeTrueAllow) voidsetConditionOpBitwseAllow(boolean conditionOpBitwseAllow) voidsetConditionOpXorAllow(boolean conditionOpXorAllow) voidsetConstArithmeticAllow(boolean constArithmeticAllow) voidsetCreateTableAllow(boolean createTableAllow) voidsetDeleteAllow(boolean deleteAllow) voidsetDeleteWhereAlwayTrueCheck(boolean deleteWhereAlwayTrueCheck) voidsetDeleteWhereNoneCheck(boolean deleteWhereNoneCheck) voidsetDescribeAllow(boolean describeAllow) set allow mysql describe statementvoidvoidsetDoPrivilegedAllow(boolean doPrivilegedAllow) voidsetDropTableAllow(boolean dropTableAllow) voidsetFunctionCheck(boolean functionCheck) voidsetHintAllow(boolean hintAllow) voidsetInited(boolean inited) voidsetInsertAllow(boolean insertAllow) voidsetInsertValuesCheckSize(int insertValuesCheckSize) voidsetIntersectAllow(boolean intersectAllow) voidsetLimitZeroAllow(boolean limitZero) voidsetLockTableAllow(boolean lockTableAllow) voidsetMergeAllow(boolean mergeAllow) voidsetMetadataAllow(boolean metadataAllow) voidsetMinusAllow(boolean minusAllow) voidsetMultiStatementAllow(boolean multiStatementAllow) voidsetMustParameterized(boolean mustParameterized) voidsetNoneBaseStatementAllow(boolean noneBaseStatementAllow) voidsetObjectCheck(boolean objectCheck) voidsetRenameTableAllow(boolean renameTableAllow) voidsetReplaceAllow(boolean replaceAllow) voidsetRollbackAllow(boolean rollbackAllow) voidsetSchemaCheck(boolean schemaCheck) voidsetSelectAllColumnAllow(boolean selectAllColumnAllow) voidsetSelectAllow(boolean selelctAllow) voidsetSelectExceptCheck(boolean selectExceptCheck) voidsetSelectHavingAlwayTrueCheck(boolean selectHavingAlwayTrueCheck) voidsetSelectIntersectCheck(boolean selectIntersectCheck) voidsetSelectIntoAllow(boolean selectIntoAllow) voidsetSelectIntoOutfileAllow(boolean selectIntoOutfileAllow) voidsetSelectLimit(int selectLimit) voidsetSelectMinusCheck(boolean selectMinusCheck) voidsetSelectUnionCheck(boolean selectUnionCheck) voidsetSelectWhereAlwayTrueCheck(boolean selectWhereAlwayTrueCheck) voidsetSelelctAllow(boolean selelctAllow) 已过时。use setSelelctAllowvoidsetSetAllow(boolean value) voidsetShowAllow(boolean showAllow) voidsetStartTransactionAllow(boolean startTransactionAllow) voidsetStrictSyntaxCheck(boolean strictSyntaxCheck) voidsetTableCheck(boolean tableCheck) voidsetTenantCallBack(WallConfig.TenantCallBack tenantCallBack) voidsetTenantColumn(String tenantColumn) voidsetTenantTablePattern(String tenantTablePattern) voidsetTruncateAllow(boolean truncateAllow) voidsetUpdateAllow(boolean updateAllow) voidsetUpdateCheckHandler(WallUpdateCheckHandler updateCheckHandler) voidsetUpdateWhereAlayTrueCheck(boolean updateWhereAlwayTrueCheck) 已过时。voidsetUpdateWhereAlwayTrueCheck(boolean updateWhereAlwayTrueCheck) voidsetUpdateWhereNoneCheck(boolean updateWhereNoneCheck) voidsetUseAllow(boolean useAllow) voidsetVariantCheck(boolean variantCheck) voidsetWrapAllow(boolean wrapAllow)
-
字段详细资料
-
denyFunctions
-
denyTables
-
denySchemas
-
denyVariants
-
denyObjects
-
permitFunctions
-
permitTables
-
permitSchemas
-
permitVariants
-
readOnlyTables
-
updateCheckColumns
-
updateCheckHandler
-
-
构造器详细资料
-
WallConfig
public WallConfig() -
WallConfig
-
-
方法详细资料
-
isCaseConditionConstAllow
public boolean isCaseConditionConstAllow() -
setCaseConditionConstAllow
public void setCaseConditionConstAllow(boolean caseConditionConstAllow) -
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) -
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) -
getTenantTablePattern
-
setTenantTablePattern
-
getTenantColumn
-
setTenantColumn
-
getTenantCallBack
-
setTenantCallBack
-
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()- 指定者:
isInited在接口中WallConfigMBean
-
getDir
- 指定者:
getDir在接口中WallConfigMBean
-
setDir
- 指定者:
setDir在接口中WallConfigMBean
-
init
public final void init()- 指定者:
init在接口中WallConfigMBean
-
loadConfig
- 指定者:
loadConfig在接口中WallConfigMBean
-
isNoneBaseStatementAllow
public boolean isNoneBaseStatementAllow()- 指定者:
isNoneBaseStatementAllow在接口中WallConfigMBean
-
setNoneBaseStatementAllow
public void setNoneBaseStatementAllow(boolean noneBaseStatementAllow) - 指定者:
setNoneBaseStatementAllow在接口中WallConfigMBean
-
isDescribeAllow
public boolean isDescribeAllow()allow mysql describe statement- 返回:
- true if the describe command is allowed, false otherwise
- 从以下版本开始:
- 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()- 指定者:
isTruncateAllow在接口中WallConfigMBean
-
setTruncateAllow
public void setTruncateAllow(boolean truncateAllow) - 指定者:
setTruncateAllow在接口中WallConfigMBean
-
isSelectIntoAllow
public boolean isSelectIntoAllow()- 指定者:
isSelectIntoAllow在接口中WallConfigMBean
-
setSelectIntoAllow
public void setSelectIntoAllow(boolean selectIntoAllow) - 指定者:
setSelectIntoAllow在接口中WallConfigMBean
-
isSelectIntoOutfileAllow
public boolean isSelectIntoOutfileAllow()- 指定者:
isSelectIntoOutfileAllow在接口中WallConfigMBean
-
setSelectIntoOutfileAllow
public void setSelectIntoOutfileAllow(boolean selectIntoOutfileAllow) - 指定者:
setSelectIntoOutfileAllow在接口中WallConfigMBean
-
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) -
isRenameTableAllow
public boolean isRenameTableAllow() -
setRenameTableAllow
public void setRenameTableAllow(boolean renameTableAllow) -
isSelectUnionCheck
public boolean isSelectUnionCheck()- 指定者:
isSelectUnionCheck在接口中WallConfigMBean
-
setSelectUnionCheck
public void setSelectUnionCheck(boolean selectUnionCheck) - 指定者:
setSelectUnionCheck在接口中WallConfigMBean
-
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) -
isDeleteAllow
public boolean isDeleteAllow()- 指定者:
isDeleteAllow在接口中WallConfigMBean
-
setDeleteAllow
public void setDeleteAllow(boolean deleteAllow) - 指定者:
setDeleteAllow在接口中WallConfigMBean
-
isDeleteWhereNoneCheck
public boolean isDeleteWhereNoneCheck() -
setDeleteWhereNoneCheck
public void setDeleteWhereNoneCheck(boolean deleteWhereNoneCheck) -
isUpdateAllow
public boolean isUpdateAllow()- 指定者:
isUpdateAllow在接口中WallConfigMBean
-
setUpdateAllow
public void setUpdateAllow(boolean updateAllow) - 指定者:
setUpdateAllow在接口中WallConfigMBean
-
isUpdateWhereNoneCheck
public boolean isUpdateWhereNoneCheck() -
setUpdateWhereNoneCheck
public void setUpdateWhereNoneCheck(boolean updateWhereNoneCheck) -
isInsertAllow
public boolean isInsertAllow()- 指定者:
isInsertAllow在接口中WallConfigMBean
-
setInsertAllow
public void setInsertAllow(boolean insertAllow) - 指定者:
setInsertAllow在接口中WallConfigMBean
-
isReplaceAllow
public boolean isReplaceAllow() -
setReplaceAllow
public void setReplaceAllow(boolean replaceAllow) -
isSetAllow
public boolean isSetAllow() -
setSetAllow
public void setSetAllow(boolean value) -
isMergeAllow
public boolean isMergeAllow()- 指定者:
isMergeAllow在接口中WallConfigMBean
-
setMergeAllow
public void setMergeAllow(boolean mergeAllow) - 指定者:
setMergeAllow在接口中WallConfigMBean
-
isMultiStatementAllow
public boolean isMultiStatementAllow()- 指定者:
isMultiStatementAllow在接口中WallConfigMBean
-
setMultiStatementAllow
public void setMultiStatementAllow(boolean multiStatementAllow) - 指定者:
setMultiStatementAllow在接口中WallConfigMBean
-
isSchemaCheck
public boolean isSchemaCheck()- 指定者:
isSchemaCheck在接口中WallConfigMBean
-
setSchemaCheck
public void setSchemaCheck(boolean schemaCheck) - 指定者:
setSchemaCheck在接口中WallConfigMBean
-
isTableCheck
public boolean isTableCheck()- 指定者:
isTableCheck在接口中WallConfigMBean
-
setTableCheck
public void setTableCheck(boolean tableCheck) - 指定者:
setTableCheck在接口中WallConfigMBean
-
isFunctionCheck
public boolean isFunctionCheck()- 指定者:
isFunctionCheck在接口中WallConfigMBean
-
setFunctionCheck
public void setFunctionCheck(boolean functionCheck) - 指定者:
setFunctionCheck在接口中WallConfigMBean
-
isVariantCheck
public boolean isVariantCheck()- 指定者:
isVariantCheck在接口中WallConfigMBean
-
setVariantCheck
public void setVariantCheck(boolean variantCheck) - 指定者:
setVariantCheck在接口中WallConfigMBean
-
isObjectCheck
public boolean isObjectCheck()- 指定者:
isObjectCheck在接口中WallConfigMBean
-
setObjectCheck
public void setObjectCheck(boolean objectCheck) - 指定者:
setObjectCheck在接口中WallConfigMBean
-
isCommentAllow
public boolean isCommentAllow()- 指定者:
isCommentAllow在接口中WallConfigMBean
-
setCommentAllow
public void setCommentAllow(boolean commentAllow) - 指定者:
setCommentAllow在接口中WallConfigMBean
-
isStrictSyntaxCheck
public boolean isStrictSyntaxCheck() -
setStrictSyntaxCheck
public void setStrictSyntaxCheck(boolean strictSyntaxCheck) -
isConstArithmeticAllow
public boolean isConstArithmeticAllow() -
setConstArithmeticAllow
public void setConstArithmeticAllow(boolean constArithmeticAllow) -
getDenyFunctions
- 指定者:
getDenyFunctions在接口中WallConfigMBean
-
getDenyTables
- 指定者:
getDenyTables在接口中WallConfigMBean
-
getDenySchemas
- 指定者:
getDenySchemas在接口中WallConfigMBean
-
getDenyVariants
- 指定者:
getDenyVariants在接口中WallConfigMBean
-
getDenyObjects
- 指定者:
getDenyObjects在接口中WallConfigMBean
-
getReadOnlyTables
- 指定者:
getReadOnlyTables在接口中WallConfigMBean
-
addReadOnlyTable
-
isReadOnly
-
getPermitFunctions
-
getPermitTables
-
getPermitSchemas
-
getPermitVariants
-
isMustParameterized
public boolean isMustParameterized() -
setMustParameterized
public void setMustParameterized(boolean mustParameterized) -
isDenyObjects
- 指定者:
isDenyObjects在接口中WallConfigMBean
-
isDenySchema
- 指定者:
isDenySchema在接口中WallConfigMBean
-
isDenyFunction
- 指定者:
isDenyFunction在接口中WallConfigMBean
-
isCallAllow
public boolean isCallAllow() -
setCallAllow
public void setCallAllow(boolean callAllow) -
isHintAllow
public boolean isHintAllow() -
setHintAllow
public void setHintAllow(boolean hintAllow) -
isSelectAllow
public boolean isSelectAllow() -
setSelectAllow
public void setSelectAllow(boolean selelctAllow) -
isSelelctAllow
public boolean isSelelctAllow()已过时。use isSelectAllow- 指定者:
isSelelctAllow在接口中WallConfigMBean
-
setSelelctAllow
public void setSelelctAllow(boolean selelctAllow) 已过时。use setSelelctAllow- 指定者:
setSelelctAllow在接口中WallConfigMBean
-
isSelectWhereAlwayTrueCheck
public boolean isSelectWhereAlwayTrueCheck()- 指定者:
isSelectWhereAlwayTrueCheck在接口中WallConfigMBean
-
setSelectWhereAlwayTrueCheck
public void setSelectWhereAlwayTrueCheck(boolean selectWhereAlwayTrueCheck) - 指定者:
setSelectWhereAlwayTrueCheck在接口中WallConfigMBean
-
isSelectHavingAlwayTrueCheck
public boolean isSelectHavingAlwayTrueCheck()- 指定者:
isSelectHavingAlwayTrueCheck在接口中WallConfigMBean
-
setSelectHavingAlwayTrueCheck
public void setSelectHavingAlwayTrueCheck(boolean selectHavingAlwayTrueCheck) - 指定者:
setSelectHavingAlwayTrueCheck在接口中WallConfigMBean
-
isConditionAndAlwayTrueAllow
public boolean isConditionAndAlwayTrueAllow() -
setConditionAndAlwayTrueAllow
public void setConditionAndAlwayTrueAllow(boolean conditionAndAlwayTrueAllow) -
isConditionAndAlwayFalseAllow
public boolean isConditionAndAlwayFalseAllow() -
setConditionAndAlwayFalseAllow
public void setConditionAndAlwayFalseAllow(boolean conditionAndAlwayFalseAllow) -
isDeleteWhereAlwayTrueCheck
public boolean isDeleteWhereAlwayTrueCheck()- 指定者:
isDeleteWhereAlwayTrueCheck在接口中WallConfigMBean
-
setDeleteWhereAlwayTrueCheck
public void setDeleteWhereAlwayTrueCheck(boolean deleteWhereAlwayTrueCheck) - 指定者:
setDeleteWhereAlwayTrueCheck在接口中WallConfigMBean
-
isUpdateWhereAlayTrueCheck
public boolean isUpdateWhereAlayTrueCheck()- 指定者:
isUpdateWhereAlayTrueCheck在接口中WallConfigMBean
-
setUpdateWhereAlayTrueCheck
已过时。- 指定者:
setUpdateWhereAlayTrueCheck在接口中WallConfigMBean
-
isUpdateWhereAlwayTrueCheck
public boolean isUpdateWhereAlwayTrueCheck() -
setUpdateWhereAlwayTrueCheck
public void setUpdateWhereAlwayTrueCheck(boolean updateWhereAlwayTrueCheck) -
isConditionOpBitwseAllow
已过时。 -
setConditionOpBitwseAllow
public void setConditionOpBitwseAllow(boolean conditionOpBitwseAllow) -
setInited
public void setInited(boolean inited) -
isLockTableAllow
public boolean isLockTableAllow() -
setLockTableAllow
public void setLockTableAllow(boolean lockTableAllow) -
isStartTransactionAllow
public boolean isStartTransactionAllow() -
setStartTransactionAllow
public void setStartTransactionAllow(boolean startTransactionAllow) -
isCompleteInsertValuesCheck
public boolean isCompleteInsertValuesCheck() -
setCompleteInsertValuesCheck
public void setCompleteInsertValuesCheck(boolean completeInsertValuesCheck) -
getInsertValuesCheckSize
public int getInsertValuesCheckSize() -
setInsertValuesCheckSize
public void setInsertValuesCheckSize(int insertValuesCheckSize) -
isBlockAllow
public boolean isBlockAllow() -
setBlockAllow
public void setBlockAllow(boolean blockAllow) -
getSelectLimit
public int getSelectLimit() -
setSelectLimit
public void setSelectLimit(int selectLimit) -
configFromProperties
-
addUpdateCheckCoumns
-
isUpdateCheckTable
-
getUpdateCheckTable
-
getUpdateCheckHandler
-
setUpdateCheckHandler
-