Integration with LDAP accounts that have email addresses as UIDs

escaping the @ at which point, using which escape sequence will fix which error? html escaping? ldap escaping? In the ldap string? in the username supplied as an admin user? fixes the admin user java error or the lack of displayed results in the ldap test?