Sample website configuration file
  • 16 Jan 2025
  • 1 Minute à lire
  • Sombre
    Lumière
  • PDF

Sample website configuration file

  • Sombre
    Lumière
  • PDF

The content is currently unavailable in French. You are viewing the default English version.
Résumé de l’article

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.


Cet article vous a-t-il été utile ?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Ozzy, facilitant la découverte de connaissances grâce à l’intelligence conversationnelle