tests if it 's possible to have searchbase prefixed with ldap url , initialdircontext is used . concode_field_sep URL webAppURL concode_elem_sep LdapServer ldapServer concode_elem_sep boolean removeBouncyCastle concode_elem_sep ManagementClient mgmtClient concode_elem_sep DirectoryService directoryService concode_elem_sep Logger LOGGER concode_field_sep void testLdap concode_elem_sep void setup concode_elem_sep void main concode_elem_sep void tearDown concode_elem_sep WebArchive deployment
void function ( ) { final URL loc0 = new URL ( webAppURL . toExternalForm ( ) + "srini_string" + LdapUrlTestServlet . PARAM_HOST + "srini_string" + URLEncoder . encode ( Utils . getSecondaryTestAddress ( mgmtClient ) , "srini_string" ) ) ; assertEquals ( "srini_string" , Utils . makeCallWithBasicAuthn ( loc0 , null , null , 200 ) ) ; }