| | |
| | | import static org.opends.server.config.ConfigConstants.OC_CRYPTO_MAC_KEY; |
| | | import org.opends.server.protocols.internal.InternalClientConnection; |
| | | import org.opends.server.protocols.internal.InternalSearchOperation; |
| | | import org.opends.server.protocols.ldap.LDAPControl; |
| | | import org.opends.server.controls.PersistentSearchChangeType; |
| | | import org.opends.server.controls.EntryChangeNotificationControl; |
| | | import org.opends.server.core.DirectoryServer; |
| | |
| | | { |
| | | if (c.getOID().equals(OID_ENTRY_CHANGE_NOTIFICATION)) |
| | | { |
| | | ecn = EntryChangeNotificationControl.decodeControl(c); |
| | | if (c instanceof LDAPControl) |
| | | { |
| | | ecn = EntryChangeNotificationControl.DECODER.decode(c |
| | | .isCritical(), ((LDAPControl) c).getValue()); |
| | | } |
| | | else |
| | | { |
| | | ecn = (EntryChangeNotificationControl)c; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | catch (LDAPException e) |
| | | catch (DirectoryException e) |
| | | { |
| | | // ignore |
| | | } |