| | |
| | | TestCaseUtils.dsconfig( |
| | | "set-connection-handler-prop", |
| | | "--handler-name", "LDIF Connection Handler", |
| | | "--set", "ldif-directory:" + tempDir.getAbsolutePath()); |
| | | "--set", "ldif-directory:" + tempDir.getAbsolutePath(), |
| | | "--set", "enabled:true"); |
| | | |
| | | try |
| | | { |
| | |
| | | TestCaseUtils.dsconfig( |
| | | "set-connection-handler-prop", |
| | | "--handler-name", "LDIF Connection Handler", |
| | | "--set", "ldif-directory:" + tempDir.getAbsolutePath()); |
| | | "--set", "ldif-directory:" + tempDir.getAbsolutePath(), |
| | | "--set", "enabled:true"); |
| | | |
| | | try |
| | | { |
| | |
| | | TestCaseUtils.dsconfig( |
| | | "set-connection-handler-prop", |
| | | "--handler-name", "LDIF Connection Handler", |
| | | "--set", "ldif-directory:" + tempDir.getAbsolutePath()); |
| | | "--set", "ldif-directory:" + tempDir.getAbsolutePath(), |
| | | "--set", "enabled:true"); |
| | | |
| | | try |
| | | { |
| | |
| | | public void testGenericConnectionHandlerMethods() |
| | | throws Exception |
| | | { |
| | | TestCaseUtils.dsconfig( |
| | | "set-connection-handler-prop", |
| | | "--handler-name", "LDIF Connection Handler", |
| | | "--set", "enabled:true"); |
| | | |
| | | // Get the connection handler from the server. |
| | | LDIFConnectionHandler connHandler = null; |
| | | for (ConnectionHandler handler : DirectoryServer.getConnectionHandlers()) |