agree re please write a current adfs book - the timing is right :)
re nt token - we are implementing the example per link in this forum, but doing so in a single domain with a single fs server. our goal is very simple, basically to use ADFS as an alternative to Forms Auth in order to present a 'friendlier' site and app customizable adfs logon page, in place of basic auth/ssl popup. we want the app to continue to run as the logged on user (secure, auditable), and continue to apply system ACL security and 'iscallerinrole' type processing based individual group memberships.
after getting all the certificates set up right (which is fun), we still couldn't get the adfs ls logon page to come up. it kept bringing up a basic auth prompt even tho the workflow logs showed it was hitting the fs server.
it turns out the nt token documentation assumes a proxy server, and the logon aspx file has to be manually copied over to the fs server if using a single server scenario. i've pasted the detail received from Fareed Muhammad Khan [fareedmk@microsoft.com] (below, fyi). also got some nice help and further info from joe (thanks joe).
you can probably email fareed if you want the attachments referred to in the note below, or do the test install per script with a proxy server, and then copy the file from the proxy server as noted. at this point its working in our testlab and we can customize the logon form for the enterprise and include per-app instructions based on the http referrer. here's the info from fareed
you would need to replace the clientlogon.aspx file currently in use in their ADFS instance with either one of the ones I’ve attached to implement the forms login page – this is a simple change. The forms logon page is normally implemented on the ADFS proxy so one would need to take some steps to copy it off a proxy machine to get it to the ADFS server itself. Therefore, I’ve included a couple samples here to avoid the need to get it off a proxy machine. You can try either one of these to see the difference. These are sample code and provided as is, you would need to work one forward to a production-ready state on their own to add custom error handling, branding, etc.
Here are the steps to drop one of these onto their ADFS server:
1. On the ADFS server for Windows Server 2003 R2, navigate to:
a. ADFS -> STS -> ls -> auth -> integrated
2. Or on the AD FS server for Windows Server 2008, navigate to:
a. Windows -> ADFS -> STS -> ls -> auth -> integrated
3. In either case, you will see a file in the integrated directory called clientlogon.aspx. Rename this file to clientlogon_integrated.aspx
4. Then, copy the clientlogon.aspx file from either of the unzipped folders into the integrated directory.
5. Reset IIS.
6. Access the application – ADFS will now present the forms page for authentication.