I prepared a prototype design with simple implementation containing
Hibernate and LDAP data stores. There is also a simple testcase that runs
against mixed (DB+LDAP) scenario.
Main concepts behind the architecture are described here:
http://docs.google.com/View?docid=dfzsjmg9_18dmn56sdk
The code is available here:
http://anonsvn.jboss.org/repos/jbossidentity/tags/PREVIEW-23-10-2008/
Three main places to look at are:
1) The API:
http://anonsvn.jboss.org/repos/jbossidentity/tags/PREVIEW-23-10-2008/iden...
2) The SPI
http://anonsvn.jboss.org/repos/jbossidentity/tags/PREVIEW-23-10-2008/iden...
3) Test case for two sample organization structures - it is the showcase
of the API usage.
http://anonsvn.jboss.org/repos/jbossidentity/tags/PREVIEW-23-10-2008/iden...
Javadoc can be generated from the maven project by doing:
# mvn javadoc:javadoc
in the root of the build
Disclaimer: This is prototype implementation so code is not
pretty/efficient and many things are still missing. One of those things
is XML configuration so all the services in test cases are bootstrapped
in a rather messy way. Few things are still missing in the design like the concept of
policies to list just one of them.
At the moment implementation contains Hibernate and LDAP identity
stores. The API should be 90% complete and this is the main place I
would like you all to look at and share your impression. I'm obviously
biased with portal use cases so take a look and tell me what is missing ;)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184053#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...