I wanted to simply list a few pages to remember regarding the development using LDAP for a java back end web system. Simply, here are a couple of pages that describe the LDAP authentication and user management powerhouse capabilities. LDAP will scale in a serious way, everything you can imagine for a user management system and then some can be accomplished with LDAP and , by the way, you only have to do your user management once if you want to attach other systems to it, go right ahead, even Windows or Linux OS can authenticate against your LDAP. I mean how many user databases do you need?. I say you only need one! So what are you waiting for? Figure out what LDAP is.
Here's some tips on how to build LDAP into your tomcat server. Oh, what's a Tomcat server? Well, I'll leave that for you to discover for yourself as well if you don't already know, every bad thing about Java runtime configuration was made solid with OSGI, ohh you don't understand what OSGI is? Ohhh.. you must be programming an Iphone, of course you wouldn't understand, well the number one phone platform for Apps is Google's Android, and it's open source! By the way, OSGI is the underpinning of how an Android works, and it is a standard developed for Java! Ohhh you see the connection between my previous statement about Apple paying off the US government to discredit Java, can you connect the dots? But I diverge again...
Just in case you thought that Java was dead and the Feds came and killed it after peeing on it, I'll remind you that every possible thing you can imagine for web back end is available through Apache, I mean seriously, Javascript?! really!? HTML5? .. ugggg ... JSON?? These are play toys kiddies!! good for doodling on a canvas or passing naughty JSON message on IM back and forth but fail very short of being able to make a secure,stable and scalable web back end let alone a serious framework for a web application.
Here's TOMCAT
here's a great page on how to LDAP enable a TOMCAT:
Web Container Authentication Via LDAP
OK so on to the serious front end for your Eclipse development environment so you can control the massively scalable LDAP back end you've created.
directory.apache.org studio installation in eclipse
I also added the LDIF and Schema editor because I have my own schema and LDIF helps to create your LDAP structure, ohh you don't know what these are? Well you shouldn't be reading this then because it's painful if you are only interested in JSON and Javascript seriously , go home, don't bother to make a system ready for a bazillion users, you can service a couple hundred with your JSON and javascript app.
Now you can use the Apache Directory but I chose to use SLAPD that is available through OPENLDAP which is available on just about every linux package manager and Unix flavour out there, but why listen to me? Go ahead and create a YAOUMs (yet another obscure user manager system).
Do I sound bitter? My apologies to all who I've offended, if you use LDAP it is extremely complicated and involved, your Javascript and JSON may be perfectly well suited for the small project you may have to do quickly here and there but once you get up and running on the LDAP platform the things one can do with user management are quite astounding and beyond enterprise level thinking.