Now with the new version of Ovidentia, your dream has come true. We have introduce a new authentication mechanism. The name of the mechanism is not definitive, but for now internaly we call it Functionality.
Now you can develop a lot of authentication functionalities: basic auth, cardspace, webservice, ldap. You can install all in your ovidentia and choose the prefered one.
With an url param you can choose the authentication functionality.
The functionality is like a library that provides services, you can develop an addon that offer a lot of services that you can call from another addon.
I have developped an addon that offer ORM functionality and now when I have to develop an addon in most case i dont have to write any sql query, the functionality makes the query for me.
For more information about ORM please follow this link ORM.
The functionality is not documented but soon in our wiki you will see the documentation.
Sorry for my english but I am a frog eater :).