public class WallConfig extends Object implements WallConfigMBean
构造器和说明 |
---|
WallConfig() |
WallConfig(String dir) |
限定符和类型 | 方法和说明 |
---|---|
void |
addReadOnlyTable(String tableName) |
Set<String> |
getDenyFunctions() |
Set<String> |
getDenyObjects() |
Set<String> |
getDenySchemas() |
Set<String> |
getDenyTables() |
Set<String> |
getDenyVariants() |
String |
getDir() |
Set<String> |
getPermitFunctions() |
Set<String> |
getPermitSchemas() |
Set<String> |
getPermitTables() |
Set<String> |
getPermitVariants() |
Set<String> |
getReadOnlyTables() |
String |
getTenantColumn() |
String |
getTenantTablePattern() |
void |
init() |
boolean |
isAlterTableAllow() |
boolean |
isCallAllow() |
boolean |
isCommentAllow() |
boolean |
isCommitAllow() |
boolean |
isConditionAndAlwayTrueAllow() |
boolean |
isConditionOpBitwseAllow() |
boolean |
isConditionOpXorAllow() |
boolean |
isConstArithmeticAllow() |
boolean |
isCreateTableAllow() |
boolean |
isDeleteAllow() |
boolean |
isDeleteWhereAlwayTrueCheck() |
boolean |
isDeleteWhereNoneCheck() |
boolean |
isDenyFunction(String name) |
boolean |
isDenyObjects(String name) |
boolean |
isDenySchema(String name) |
boolean |
isDescribeAllow()
allow mysql describe statement
|
boolean |
isDoPrivilegedAllow() |
boolean |
isDropTableAllow() |
boolean |
isFunctionCheck() |
boolean |
isInited() |
boolean |
isInsertAllow() |
boolean |
isIntersectAllow() |
boolean |
isLimitZeroAllow() |
boolean |
isMergeAllow() |
boolean |
isMetadataAllow() |
boolean |
isMinusAllow() |
boolean |
isMultiStatementAllow() |
boolean |
isMustParameterized() |
boolean |
isNoneBaseStatementAllow() |
boolean |
isObjectCheck() |
boolean |
isReadOnly(String tableName) |
boolean |
isReplaceAllow() |
boolean |
isRollbackAllow() |
boolean |
isSchemaCheck() |
boolean |
isSelectAllColumnAllow() |
boolean |
isSelectHavingAlwayTrueCheck() |
boolean |
isSelectIntoAllow() |
boolean |
isSelectIntoOutfileAllow() |
boolean |
isSelectUnionCheck() |
boolean |
isSelectWhereAlwayTrueCheck() |
boolean |
isSelelctAllow() |
boolean |
isSetAllow() |
boolean |
isShowAllow() |
boolean |
isStrictSyntaxCheck() |
boolean |
isTableCheck() |
boolean |
isTruncateAllow() |
boolean |
isUpdateAllow() |
boolean |
isUpdateWhereAlayTrueCheck() |
boolean |
isUpdateWhereNoneCheck() |
boolean |
isUseAllow() |
boolean |
isVariantCheck() |
boolean |
isWrapAllow() |
void |
loadConfig(String dir) |
void |
setAlterTableAllow(boolean alterTableAllow) |
void |
setCallAllow(boolean callAllow) |
void |
setCommentAllow(boolean commentAllow) |
void |
setCommitAllow(boolean commitAllow) |
void |
setConditionAndAlwayTrueAllow(boolean conditionAndAlwayTrueAllow) |
void |
setConditionOpBitwseAllow(boolean conditionOpBitwseAllow) |
void |
setConditionOpXorAllow(boolean conditionOpXorAllow) |
void |
setConstArithmeticAllow(boolean constArithmeticAllow) |
void |
setCreateTableAllow(boolean createTableAllow) |
void |
setDeleteAllow(boolean deleteAllow) |
void |
setDeleteWhereAlwayTrueCheck(boolean deleteWhereAlwayTrueCheck) |
void |
setDeleteWhereNoneCheck(boolean deleteWhereNoneCheck) |
void |
setDescribeAllow(boolean describeAllow)
set allow mysql describe statement
|
void |
setDir(String dir) |
void |
setDoPrivilegedAllow(boolean doPrivilegedAllow) |
void |
setDropTableAllow(boolean dropTableAllow) |
void |
setFunctionCheck(boolean functionCheck) |
void |
setInsertAllow(boolean insertAllow) |
void |
setIntersectAllow(boolean intersectAllow) |
void |
setLimitZeroAllow(boolean limitZero) |
void |
setMergeAllow(boolean mergeAllow) |
void |
setMetadataAllow(boolean metadataAllow) |
void |
setMinusAllow(boolean minusAllow) |
void |
setMultiStatementAllow(boolean multiStatementAllow) |
void |
setMustParameterized(boolean mustParameterized) |
void |
setNoneBaseStatementAllow(boolean noneBaseStatementAllow) |
void |
setObjectCheck(boolean objectCheck) |
void |
setReplaceAllow(boolean replaceAllow) |
void |
setRollbackAllow(boolean rollbackAllow) |
void |
setSchemaCheck(boolean schemaCheck) |
void |
setSelectAllColumnAllow(boolean selectAllColumnAllow) |
void |
setSelectHavingAlwayTrueCheck(boolean selectHavingAlwayTrueCheck) |
void |
setSelectIntoAllow(boolean selectIntoAllow) |
void |
setSelectIntoOutfileAllow(boolean selectIntoOutfileAllow) |
void |
setSelectUnionCheck(boolean selectUnionCheck) |
void |
setSelectWhereAlwayTrueCheck(boolean selectWhereAlwayTrueCheck) |
void |
setSelelctAllow(boolean selelctAllow) |
void |
setSetAllow(boolean value) |
void |
setShowAllow(boolean showAllow) |
void |
setStrictSyntaxCheck(boolean strictSyntaxCheck) |
void |
setTableCheck(boolean tableCheck) |
void |
setTenantColumn(String tenantColumn) |
void |
setTenantTablePattern(String tenantTablePattern) |
void |
setTruncateAllow(boolean truncateAllow) |
void |
setUpdateAllow(boolean updateAllow) |
void |
setUpdateWhereAlayTrueCheck(boolean updateWhereAlayTrueCheck) |
void |
setUpdateWhereNoneCheck(boolean updateWhereNoneCheck) |
void |
setUseAllow(boolean useAllow) |
void |
setVariantCheck(boolean variantCheck) |
void |
setWrapAllow(boolean wrapAllow) |
public WallConfig()
public WallConfig(String dir)
public boolean isLimitZeroAllow()
public void setLimitZeroAllow(boolean limitZero)
public boolean isConditionAndAlwayTrueAllow()
public void setConditionAndAlwayTrueAllow(boolean conditionAndAlwayTrueAllow)
public boolean isUseAllow()
public void setUseAllow(boolean useAllow)
public boolean isCommitAllow()
public void setCommitAllow(boolean commitAllow)
public boolean isRollbackAllow()
public void setRollbackAllow(boolean rollbackAllow)
public boolean isIntersectAllow()
public void setIntersectAllow(boolean intersectAllow)
public boolean isMinusAllow()
public void setMinusAllow(boolean minusAllow)
public boolean isConditionOpXorAllow()
public void setConditionOpXorAllow(boolean conditionOpXorAllow)
public boolean isConditionOpBitwseAllow()
public void setConditionOpBitwseAllow(boolean conditionOpBitwseAllow)
public String getTenantTablePattern()
public void setTenantTablePattern(String tenantTablePattern)
public String getTenantColumn()
public void setTenantColumn(String tenantColumn)
public boolean isMetadataAllow()
public void setMetadataAllow(boolean metadataAllow)
public boolean isWrapAllow()
public void setWrapAllow(boolean wrapAllow)
public boolean isDoPrivilegedAllow()
public void setDoPrivilegedAllow(boolean doPrivilegedAllow)
public boolean isSelectAllColumnAllow()
public void setSelectAllColumnAllow(boolean selectAllColumnAllow)
public boolean isInited()
isInited
在接口中 WallConfigMBean
public String getDir()
getDir
在接口中 WallConfigMBean
public void setDir(String dir)
setDir
在接口中 WallConfigMBean
public final void init()
init
在接口中 WallConfigMBean
public void loadConfig(String dir)
loadConfig
在接口中 WallConfigMBean
public boolean isNoneBaseStatementAllow()
isNoneBaseStatementAllow
在接口中 WallConfigMBean
public void setNoneBaseStatementAllow(boolean noneBaseStatementAllow)
setNoneBaseStatementAllow
在接口中 WallConfigMBean
public boolean isDescribeAllow()
public void setDescribeAllow(boolean describeAllow)
public boolean isShowAllow()
public void setShowAllow(boolean showAllow)
public boolean isTruncateAllow()
isTruncateAllow
在接口中 WallConfigMBean
public void setTruncateAllow(boolean truncateAllow)
setTruncateAllow
在接口中 WallConfigMBean
public boolean isSelelctAllow()
isSelelctAllow
在接口中 WallConfigMBean
public void setSelelctAllow(boolean selelctAllow)
setSelelctAllow
在接口中 WallConfigMBean
public boolean isSelectIntoAllow()
isSelectIntoAllow
在接口中 WallConfigMBean
public void setSelectIntoAllow(boolean selectIntoAllow)
setSelectIntoAllow
在接口中 WallConfigMBean
public boolean isSelectIntoOutfileAllow()
isSelectIntoOutfileAllow
在接口中 WallConfigMBean
public void setSelectIntoOutfileAllow(boolean selectIntoOutfileAllow)
setSelectIntoOutfileAllow
在接口中 WallConfigMBean
public boolean isCreateTableAllow()
public void setCreateTableAllow(boolean createTableAllow)
public boolean isDropTableAllow()
public void setDropTableAllow(boolean dropTableAllow)
public boolean isAlterTableAllow()
public void setAlterTableAllow(boolean alterTableAllow)
public boolean isSelectUnionCheck()
isSelectUnionCheck
在接口中 WallConfigMBean
public void setSelectUnionCheck(boolean selectUnionCheck)
setSelectUnionCheck
在接口中 WallConfigMBean
public boolean isSelectWhereAlwayTrueCheck()
isSelectWhereAlwayTrueCheck
在接口中 WallConfigMBean
public void setSelectWhereAlwayTrueCheck(boolean selectWhereAlwayTrueCheck)
setSelectWhereAlwayTrueCheck
在接口中 WallConfigMBean
public boolean isSelectHavingAlwayTrueCheck()
isSelectHavingAlwayTrueCheck
在接口中 WallConfigMBean
public void setSelectHavingAlwayTrueCheck(boolean selectHavingAlwayTrueCheck)
setSelectHavingAlwayTrueCheck
在接口中 WallConfigMBean
public boolean isDeleteAllow()
isDeleteAllow
在接口中 WallConfigMBean
public void setDeleteAllow(boolean deleteAllow)
setDeleteAllow
在接口中 WallConfigMBean
public boolean isDeleteWhereAlwayTrueCheck()
isDeleteWhereAlwayTrueCheck
在接口中 WallConfigMBean
public void setDeleteWhereAlwayTrueCheck(boolean deleteWhereAlwayTrueCheck)
setDeleteWhereAlwayTrueCheck
在接口中 WallConfigMBean
public boolean isDeleteWhereNoneCheck()
public void setDeleteWhereNoneCheck(boolean deleteWhereNoneCheck)
public boolean isUpdateAllow()
isUpdateAllow
在接口中 WallConfigMBean
public void setUpdateAllow(boolean updateAllow)
setUpdateAllow
在接口中 WallConfigMBean
public boolean isUpdateWhereAlayTrueCheck()
isUpdateWhereAlayTrueCheck
在接口中 WallConfigMBean
public void setUpdateWhereAlayTrueCheck(boolean updateWhereAlayTrueCheck)
setUpdateWhereAlayTrueCheck
在接口中 WallConfigMBean
public boolean isUpdateWhereNoneCheck()
public void setUpdateWhereNoneCheck(boolean updateWhereNoneCheck)
public boolean isInsertAllow()
isInsertAllow
在接口中 WallConfigMBean
public void setInsertAllow(boolean insertAllow)
setInsertAllow
在接口中 WallConfigMBean
public boolean isReplaceAllow()
public void setReplaceAllow(boolean replaceAllow)
public boolean isSetAllow()
public void setSetAllow(boolean value)
public boolean isMergeAllow()
isMergeAllow
在接口中 WallConfigMBean
public void setMergeAllow(boolean mergeAllow)
setMergeAllow
在接口中 WallConfigMBean
public boolean isMultiStatementAllow()
isMultiStatementAllow
在接口中 WallConfigMBean
public void setMultiStatementAllow(boolean multiStatementAllow)
setMultiStatementAllow
在接口中 WallConfigMBean
public boolean isSchemaCheck()
isSchemaCheck
在接口中 WallConfigMBean
public void setSchemaCheck(boolean schemaCheck)
setSchemaCheck
在接口中 WallConfigMBean
public boolean isTableCheck()
isTableCheck
在接口中 WallConfigMBean
public void setTableCheck(boolean tableCheck)
setTableCheck
在接口中 WallConfigMBean
public boolean isFunctionCheck()
isFunctionCheck
在接口中 WallConfigMBean
public void setFunctionCheck(boolean functionCheck)
setFunctionCheck
在接口中 WallConfigMBean
public boolean isVariantCheck()
isVariantCheck
在接口中 WallConfigMBean
public void setVariantCheck(boolean variantCheck)
setVariantCheck
在接口中 WallConfigMBean
public boolean isObjectCheck()
isObjectCheck
在接口中 WallConfigMBean
public void setObjectCheck(boolean objectCheck)
setObjectCheck
在接口中 WallConfigMBean
public boolean isCommentAllow()
isCommentAllow
在接口中 WallConfigMBean
public void setCommentAllow(boolean commentAllow)
setCommentAllow
在接口中 WallConfigMBean
public boolean isStrictSyntaxCheck()
public void setStrictSyntaxCheck(boolean strictSyntaxCheck)
public boolean isConstArithmeticAllow()
public void setConstArithmeticAllow(boolean constArithmeticAllow)
public Set<String> getDenyFunctions()
getDenyFunctions
在接口中 WallConfigMBean
public Set<String> getDenyTables()
getDenyTables
在接口中 WallConfigMBean
public Set<String> getDenySchemas()
getDenySchemas
在接口中 WallConfigMBean
public Set<String> getDenyVariants()
getDenyVariants
在接口中 WallConfigMBean
public Set<String> getDenyObjects()
getDenyObjects
在接口中 WallConfigMBean
public Set<String> getReadOnlyTables()
getReadOnlyTables
在接口中 WallConfigMBean
public void addReadOnlyTable(String tableName)
public boolean isReadOnly(String tableName)
public boolean isMustParameterized()
public void setMustParameterized(boolean mustParameterized)
public boolean isDenyObjects(String name)
isDenyObjects
在接口中 WallConfigMBean
public boolean isDenySchema(String name)
isDenySchema
在接口中 WallConfigMBean
public boolean isDenyFunction(String name)
isDenyFunction
在接口中 WallConfigMBean
public boolean isCallAllow()
public void setCallAllow(boolean callAllow)
Copyright © 2012-2013 Alibaba Group. All Rights Reserved.