/** * Shut down the in-process Apache Directory Server. * * @param principal the principal to be used for authentication. * @param credentials the credentials to be used for authentication. * @throws Exception If anything goes wrong when shutting down the server. * @deprecated use {@link #shutdownEmbeddedServer()} instead. */ public static void destroyApacheDirectoryServer(String principal, String credentials) throws Exception { shutdownEmbeddedServer(); }
@AfterClass public static void tearDownClass() throws Exception { LdapTestUtils.shutdownEmbeddedServer(); }