About the IDM, PicketLink provides only an API to build IDM applications (as you want a solution for AS7).
Take a look in this doc about Seam 3 and PL IDM.
Seam 3 provides some IDM features based on PL IDM. I think they also have a example application using this IDM features.
I hope this can get you started ...