Thanks, very useful!

Question:

I have plugged in my custom membership provider into STS. Another application (CRM) needs access a SP document library.

What would be implementation steps to get the user authenticated and serve the documents the user has access to?