Optionally check javax.validation annotations, Remove some Ldap code