Java based restful ldap-authentication proxy server