| | |
| | | "ds-cfg-group-dn: dc=new value 3,dc=com", |
| | | "ds-cfg-group-dn: dc=new value 4,dc=com" |
| | | }; |
| | | TestCaseUtils.applyModifications(changes); |
| | | TestCaseUtils.applyModifications(true, changes); |
| | | |
| | | // Make sure that the change listener was notified and the |
| | | // modified child contains the correct values. |
| | |
| | | "ds-cfg-base-dn: dc=new value 1,dc=com", |
| | | "ds-cfg-base-dn: dc=new value 2,dc=com" |
| | | }; |
| | | TestCaseUtils.applyModifications(changes); |
| | | TestCaseUtils.applyModifications(true, changes); |
| | | |
| | | // Make sure that the change listener was notified and the |
| | | // modified child contains the correct values. |
| | |
| | | "ds-cfg-group-dn: dc=new value 1,dc=com", |
| | | "ds-cfg-group-dn: dc=new value 2,dc=com" |
| | | }; |
| | | TestCaseUtils.applyModifications(changes); |
| | | TestCaseUtils.applyModifications(true, changes); |
| | | |
| | | // Make sure that the change listener was notified and the |
| | | // modified child contains the correct values. |
| | |
| | | "ds-cfg-base-dn: dc=new value 1,dc=com", |
| | | "ds-cfg-base-dn: dc=new value 2,dc=com" |
| | | }; |
| | | TestCaseUtils.applyModifications(changes); |
| | | TestCaseUtils.applyModifications(true, changes); |
| | | |
| | | // Make sure that the change listener was notified and the |
| | | // modified child contains the correct values. |
| | |
| | | "changetype: modify", |
| | | "delete: ds-cfg-base-dn" |
| | | }; |
| | | TestCaseUtils.applyModifications(changes); |
| | | TestCaseUtils.applyModifications(true, changes); |
| | | } |
| | | } |
| | | |
| | |
| | | // Gets the JNDI connection for the test server instance. |
| | | private synchronized JNDIDirContextAdaptor getAdaptor() throws Exception { |
| | | if (adaptor == null) { |
| | | adaptor = JNDIDirContextAdaptor.simpleBind("127.0.0.1", TestCaseUtils |
| | | .getServerLdapPort(), "cn=directory manager", "password"); |
| | | adaptor = JNDIDirContextAdaptor.simpleSSLBind("127.0.0.1", TestCaseUtils |
| | | .getServerAdminPort(), "cn=directory manager", "password"); |
| | | } |
| | | return adaptor; |
| | | } |