This function reads the adapter header files and stores data in memory. It finds the relevant adapter document using the SPFAuthAdapterCode property on the adapter document master. The code to search for is identified on the publish and retrieve methods and so on.