| | |
| | | import org.opends.server.core.AddOperation; |
| | | import org.opends.server.core.DirectoryServer; |
| | | import org.opends.server.protocols.internal.InternalClientConnection; |
| | | import org.opends.server.protocols.ldap.LDAPResultCode; |
| | | import org.opends.server.types.Entry; |
| | | import org.opends.server.types.ResultCode; |
| | | |
| | |
| | | * @throws Exception If an unexpected problem occurs. |
| | | */ |
| | | @Test() |
| | | public void testLDAPNoOpUnsupportedCriticalControl() |
| | | public void testUnsupportedCriticalControl() |
| | | throws Exception |
| | | { |
| | | TestCaseUtils.initializeTestBackend(true); |
| | |
| | | "-J", OID_LDAP_NOOP_OPENLDAP_ASSIGNED + ":true" |
| | | }; |
| | | |
| | | // FIXME -- Change this whenever the real LDAP No-Op result code is assigned |
| | | assertEquals(LDAPPasswordModify.mainPasswordModify(args, false, null, null), |
| | | 0); |
| | | LDAPResultCode.NO_OPERATION); |
| | | } |
| | | |
| | | |
| | |
| | | "-J", "noop:true" |
| | | }; |
| | | |
| | | // FIXME -- Change this whenever the real LDAP No-Op result code is assigned |
| | | assertEquals(LDAPPasswordModify.mainPasswordModify(args, false, null, null), |
| | | 0); |
| | | LDAPResultCode.NO_OPERATION); |
| | | } |
| | | |
| | | |
| | |
| | | "-J", OID_PASSWORD_POLICY_CONTROL + ":true" |
| | | }; |
| | | |
| | | // FIXME -- Change this whenever the real LDAP No-Op result code is assigned |
| | | assertEquals(LDAPPasswordModify.mainPasswordModify(args, false, null, null), |
| | | 0); |
| | | LDAPResultCode.NO_OPERATION); |
| | | } |
| | | |
| | | |