public class SqlInjectionCheck extends AbstractServer
| InputRecord | OutputRecord |
|---|---|
|
出力レコードが指定されている場合は、チェックを行った結果、エスケープされた文字列を
セットします。 出力レコードが指定されていない場合は、入力レコードにエスケープされた文字列をセットします。 |
| Parameter |
実行モードの設定 -mode like … Oracle、DB2、HSQLDBの LIKE 比較演算子の値として使用される項目の チェックを行います。(デフォルト) -mode equal … Oracle、DB2、HSQLDBの =、<、> 演算子の値として使用される項目の チェックを行います。 -mode likep … PostgreSQL式の LIKE 演算子の値として使用される項目の チェックを行います。 -mode equalp … PostgreSQL式の =、<、> 演算子の値として使用される項目の チェックを行います。 -escape [n] … エスケープ文字列を設定します。(デフォルトは¥) -semicolon OK … セミコロンが含まれた文字列があった場合も、それをデータとみなす。 -semicolon USER_ERROR … セミコロンが含まれた文字列があった場合、ユーザエラーを返す。(デフォルト) -alreadyconvertcheck true … 設定されたデータはコンバートされている可能性があるデータとして、コンバート済みの文字かどうかをチェックします。 このモードの場合 適切に変換が行えない場合があります。(デフォルト) -alreadyconvertcheck false … 設定されたデータはまだコンバートしていないデータとして、全ての文字を変換します。 |
|---|
| 修飾子とタイプ | フィールドと説明 |
|---|---|
(package private) ParamReader |
reader |
serverControlDatacontrolRecord, engineManager, errorMessage, executeType, id, inputRecord, logicalName, logicClassDelegate, outputRecord, physicalName, ruleParameter, ruleType, serverParameter, userConstantCANCEL, ERROR, EXECUTE_BOTH, EXECUTE_CLIENT, EXECUTE_DEBUG, EXECUTE_HTMLGATEWAY, EXECUTE_SERVER, EXECUTE_SERVERDC, IO_ERROR, IO_ERROR_EXECUTE_PARAMETER, IO_ERROR_IN, IO_ERROR_IO_MUST_SAME_COUNT, IO_ERROR_ITEM_TYPE, IO_ERROR_OUT, IO_ERROR_PARAMETER, NONE, OK, PARAMETER_DELIMITER, SKIP, USER_ERROR| コンストラクタと説明 |
|---|
SqlInjectionCheck() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
int |
execute()
入力データを順に処理していきます。
|
void |
exit()
終了時に特に行う処理はありません。
|
int |
getIOParameter()
入力レコード、出力レコード、ロジッククラスパラメータが正しく指定されているか、チェックします。
|
protected int |
loopInRecordSub(jp.ne.mki.wedge.run.interfaces.DataInterface inItem,
int index)
loopInRecord()から呼び出されるメソッドです。
|
errorFixed, executeCallStran, executeDecisionTable, executeDecisionTable, executeRule, executeServerDc, executeServerDcChangeConnection, executeServerDcChangeSql, executeServerDcChangeSqlConnection, executeServerRule, getBatchStatus, getExecuteParameter, getJobParameter, getLogicClassType, getServerControlData, getSkipNumber, getStepParameter, getStepParameter, getTransactionArea, setBatchStatus, setEngineManager, setExecuteParameter, setServerStatus, setSkipNumber, setSkipNumber, setThisRuleType, showErrorDialog, terminate, writeErrorLog, writeErrorLog, writeTraceLog, writeTraceLogcallDispose, checkDelegate, createErrorMessage, createLogicErrorLogRecord, createLogicExceptionLogRecord, createLogicLogRecord, dataClearOfOutRecord, dataClearOfRecord, dispose, getAppAccount, getAppAuthority, getAppMenu, getAppPassword, getClassErrorName, getClientId, getConnectionId, getConnectionPoolId, getConstantKeys, getConstantValue, getConstantValueAsStringArray, getControlRecord, getDbAccessCount, getDbErrorCode, getDbErrorMessage, getDbStatus, getDbUpdatedRecordCount, getEngineManager, getErrorMessage, getErrorMessage, getErrorMessage, getExceptionMessage, getExecuteType, getId, getInputRecordIterator, getInRecord, getInRecord, getInRecord, getInRecordCount, getInRecordList, getIpAddress_G_Index, getIpAddress_P_Index, getLogicalErrorName, getLogicalName, getLogicClassDelegate, getOutputHtml, getOutputRecordIterator, getOutRecord, getOutRecord, getOutRecord, getOutRecordCount, getOutRecordList, getPhysicalErrorName, getPhysicalName, getProjectId, getQueryEndLine, getQueryMaxCount, getQueryPageCount, getQueryStartLine, getReturnString, getRowSize, getRowSizeOfInRecord, getRuleParameter, getRuleParameters, getRuleParameters, getRuleParameters, getRuleType, getRuleTypeName, getServerMessage, getServerParameter, getServerStatus, getServerSubName, getServerSubRevision, getServerTran, getUpdateErrorLine, getUpdateTargetCount, getWebServerIpAddress, isExecutable, isJDK15, log, logDebug, logError, logError, logFatal, logFatal, logInfo, logTrace, logWarn, logWarn, loopInOutRecord, loopInOutRecordSub, loopInRecord, loopOutRecord, loopOutRecordSub, setControlRecord, setErrorMessage, setErrorMessageMustInRecord, setErrorMessageMustOutRecord, setErrorMessageMustParamIsNumber, setExecuteType, setFatalError, setId, setInRecord, setLogicalName, setLogicClassDelegate, setOutputHtml, setOutRecord, setPhysicalName, setPropertyFromEngine, setRuleParameter, setRuleType, setServerParameter, setUserConstant, showErrorDialog, showErrorDialogAddRuleName, writeErrorLog, writeErrorLog, writeLog, writeLog, writeLog, writeTraceLogclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdispose, getAppAccount, getAppAuthority, getAppMenu, getAppPassword, getClassErrorName, getClientId, getConnectionId, getConnectionPoolId, getDbAccessCount, getDbErrorCode, getDbErrorMessage, getDbStatus, getEngineManager, getExceptionMessage, getExecuteType, getId, getInRecord, getInRecord, getInRecord, getInRecordCount, getIpAddress_G_Index, getIpAddress_P_Index, getLogicalErrorName, getLogicalName, getOutRecord, getOutRecord, getOutRecord, getOutRecordCount, getPhysicalErrorName, getPhysicalName, getProjectId, getQueryEndLine, getQueryMaxCount, getQueryPageCount, getQueryStartLine, getReturnString, getRuleParameter, getRuleParameters, getRuleType, getRuleTypeName, getServerMessage, getServerParameter, getServerStatus, getServerSubName, getServerSubRevision, getServerTran, getUpdateErrorLine, getUpdateTargetCount, getWebServerIpAddress, isExecutable, logDebug, logError, logError, logFatal, logFatal, logInfo, logTrace, logWarn, logWarn, setExecuteType, setRuleType, setServerParameter, showErrorDialog, showErrorDialogAddRuleName, writeErrorLog, writeLog, writeLog, writeTraceLogcreateLogicErrorLogRecord, createLogicExceptionLogRecord, createLogicLogRecord, getLogicClassDelegate, setControlRecord, setId, setInRecord, setLogicalName, setLogicClassDelegate, setOutRecord, setPhysicalName, setPropertyFromEngine, setRuleParameter, setUserConstantParamReader reader
public int getIOParameter()
throws java.lang.Throwable
java.lang.ThrowableCommonInterface.getIOParameter()public int execute()
throws java.lang.Throwable
java.lang.ThrowableCommonInterface.execute()public void exit()
throws java.lang.Throwable
java.lang.ThrowableCommonInterface.exit()protected int loopInRecordSub(jp.ne.mki.wedge.run.interfaces.DataInterface inItem,
int index)
AbstractBaseloopInRecordSub クラス内 AbstractBase