Class OrcidContextSetup

  • All Implemented Interfaces:
    EventListener, javax.servlet.ServletContextListener

    public class OrcidContextSetup
    extends Object
    implements javax.servlet.ServletContextListener
    Setup for the ORCID interface. Note that the property for CLIENT_SECRET is "orcid.clientPassword". Since it ends in "password", it will not be displayed on the ShowConfiguration page. The CALLBACK_PATH is hardcoded. It is relative to the WEBAPP_BASE_URL, so it won't change.
    • Constructor Detail

      • OrcidContextSetup

        public OrcidContextSetup()
    • Method Detail

      • contextInitialized

        public void contextInitialized​(javax.servlet.ServletContextEvent sce)
        Specified by:
        contextInitialized in interface javax.servlet.ServletContextListener
      • contextDestroyed

        public void contextDestroyed​(javax.servlet.ServletContextEvent sce)
        Specified by:
        contextDestroyed in interface javax.servlet.ServletContextListener