Class UpdateRegistrarRdapBaseUrlsAction

  • All Implemented Interfaces:

    public final class UpdateRegistrarRdapBaseUrlsAction
    extends java.lang.Object
    implements java.lang.Runnable
    Loads the current list of RDAP Base URLs from the ICANN servers.

    This will update ALL the REAL registrars. If a REAL registrar doesn't have an RDAP entry in MoSAPI, we'll delete any BaseUrls it has.

    The ICANN endpoint is described in the MoSAPI specifications, part 11:

    It is a "login/query/logout" system where you login using the ICANN Reporting credentials, get a cookie you then send to get the list and finally logout.

    For clarity, this is how one would contact this endpoint "manually", from an allow-listed IP server:

    $ curl [base]/login -I --user [tld]_ry:[password]

    get the id=xxx value from the reply

    $ curl [base]/registrarRdapBaseUrl/list -b 'id=xxx'

    $ curl [base]/logout -b 'id=xxx'

    where [base] is[tld]

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable