前のトピック: eiam.config ファイルについて

次のトピック: iTechnology SDK のログの有効化

eiam.config ファイルの例

以下は eiam.config ファイルの例です。

<EiamConfiguration>
  <!-- EIAM Internal: Configure cyclic buffer -->
  <CyclicBuffer size="500" dump="false" file="dump.log" enable="true" />
  <!-- Absolute file path for logger configuration, For Java use:-  file="eiam.log4j.config" -->
  <LoggerConfiguration file="eiam.log4cxx.config"/>
  <!-- Absolute folder path for SAF folder where audit files will be stored for processing-->
  <Saf directory="audit"/>
   <!-- Socket timeout in milli seconds. Default value is 2 mins -->
  <Network sockettimeout="120000"/>
  <SDK type="Java">
	<iTechSDK>
		<FIPSMode>true</FIPSMode>
		<JCEProvider>JsafeJCE</JCEProvider>
		<Security>
			<digestAlgorithm>SHA1</digestAlgorithm>
		</Security>
		<Debug>
			<logLevel>trace</logLevel>
		</Debug>
	</iTechSDK>
  </SDK>
  <SDK type="C++">
	<iTechSDK>
		<FIPSMode></FIPSMode>
		<Commons>
			<etpkiCryptoLib></etpkiCryptoLib>
		</Commons>
		<TransportConfig>
			<!--possible values are SSLV23 / SSLV3 / TLSV1-->
			<secureProtocol></secureProtocol>
		</TransportConfig>
		<Security>
			<!--possible values are MD5/SHA1/SHA256/SHA384/SHA512-->
			<digestAlgorithm></digestAlgorithm>
		</Security>
		<Debug>
			<!--possible values are ERROR/WARNING/TRACE/NOLEVEL-->
			<logLevel></logLevel>

			<!--possible values are true/false -->
			<logToFile></logToFile>

			<!--log file name-->
			<logFile></logFile>

			<!--log file size in MB(positive integer)-->
			<maxLogSize></maxLogSize>
		</Debug>
	</iTechSDK>
  </SDK>
</EiamConfiguration>