docs: public void checkWritePermission(TimedDirContext ctx) throws OperationNotSupportedException {
          if (!iWriteToSecondary) {
              String providerURL = getProviderURL(ctx);
              if (!getPrimaryURL().equalsIgnoreCase(providerURL)) {
                  String msg = Tr.formatMessage(tc, WIMMessageKey.WRITE_TO_SECONDARY_SERVERS_NOT_ALLOWED, WIMMessageHelper.generateMsgParms(providerURL));
                  throw new OperationNotSupportedException(WIMMessageKey.WRITE_TO_SECONDARY_SERVERS_NOT_ALLOWED, msg);
              }
          }
      }