Tomcat and OpenLDAP, from Configuration to Application