- 16 Jan 2025
- 1 Minute à lire
- SombreLumière
- PDF
Sample website configuration file
- Mis à jour le 16 Jan 2025
- 1 Minute à lire
- SombreLumière
- PDF
The sample authentication website settings are stored in web.config, which is stored in the root of the web directory.
IdentikeyAuthWrapper-version.dll comes packaged with IdentikeyAuthWrapper.dll-version.config, and the sample authentication website’s IdentikeyAuthSampleSite-version.dll refers to the web.config configuration file. IdentikeyAuthWrapper.dll.config is a template that can be copied into your own configuration file.
The template contains the following sections:
configSections
The configSections section must be as described below. If the configuration file you are using for your own website does not contain a configSections section, you must add one. If your configuration file has a configSections section, but it does not contain the following settings, you must add them.
<configSections>
<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<section name="IdentikeyAuthWrapper.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
</sectionGroup>
</configSections>
If you create your own configuration file for your own authentication website, it must contain the configSections section as shown above.
applicationSettings
The applicationSetting section must also be included in any configuration file used. The SettingNames must remain the same, apart from that add your own relevant values.
<applicationSettings>
<IdentikeyAuthWrapper.Properties.Settings>
<setting name="SoapHostPrimary" serializeAs="String">
<value>https://localhost:8888</value>
</setting>
<setting name="SoapHostBackup" serializeAs="String">
<value>https://localhost:8888</value>
</setting>
<setting name="PasswordFormat" serializeAs="String">
<value>4</value>
</setting>
<setting name="ComponentAuthentication" serializeAs="String">
<value>Authentication Sample Client</value>
</setting>
<setting name="ComponentSignature" serializeAs="String">
<value>Signature Sample Client</value>
</setting>
</IdentikeyAuthWrapper.Properties.Settings>
</applicationSettings>
Restart the sample authentication website after changing these settings.