CRL over LDAP Technical Documentation

De Trustedbird Client Wiki
Révision de 3 septembre 2010 à 15:36 par Rfairise (discussion | contributions) (Page créée avec « {{lang|CRL over LDAP Technical Documentation|CRL over LDAP Technical Documentation/fr}} > Documentation > Add-on: CRL over LDAP > [[CRL over LDAP Techni… »)

(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)
English | Français

> Documentation > Add-on: CRL over LDAP > Technical Documentation



This add-on is written in XUL and Javascript.

Architecture

This add-on is built around Mozilla components @mozilla.org/network/ldap-connection;1 for LDAP management and @mozilla.org/security/crlmanager;1 for importing CRLs into the database.

Files/functions description

  • content/messenger_overlay.xul
  • content/messenger_overlay.js
Schedule and launch every day a ldapCrlAutoUpdateManager (hidden window).
  • content/ldapCrlAutoUpdateManager.xul
  • content/ldapCrlAutoUpdateManager.js
Hidden window which launches a LDAP query for all CRLs to update in database.
  • content/ldapCrlManager.js
importCrlFromLdapMessage: handle LDAP response message and import/update the CRL into database.
  • content/crlManager_overlay.xul
  • content/crlManager_overlay.js
Add a test in original ImportCRL and UpdateCRL functions (launched by CRL manager window) to identify and process LDAP URLs.
Open a ldapCrlFetchDialog window in case of LDAP URLs.
  • content/ldapCrlFetchDialog.xul
  • content/ldapCrlFetchDialog.js
Dialog with a progress meter which launches a new LDAP query and imports fetched CRLwith importCrlFromLdapMessage.
  • content/pref-crlupdate_overlay.xul
  • content/pref-crlupdate_overlay.js
Slightly modified dialog controls for CRLs from LDAP.
  • content/libtrustedbird.js
Debug and LDAP functions library.
  • locale/en-US/ldapCrlFetchDialog.dtd
  • locale/en-US/ldapCrlFetchDialog.properties
  • locale/fr/ldapCrlFetchDialog.dtd
  • locale/fr/ldapCrlFetchDialog.properties
Localized strings for content/ldapCrlFetchDialog.xul and content/ldapCrlFetchDialog.js.