Package edu.cornell.mannlib.vivo.orcid
Class OrcidContextSetup
- java.lang.Object
-
- edu.cornell.mannlib.vivo.orcid.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 Summary
Constructors Constructor Description OrcidContextSetup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcontextDestroyed(javax.servlet.ServletContextEvent sce)voidcontextInitialized(javax.servlet.ServletContextEvent sce)
-
-
-
Method Detail
-
contextInitialized
public void contextInitialized(javax.servlet.ServletContextEvent sce)
- Specified by:
contextInitializedin interfacejavax.servlet.ServletContextListener
-
contextDestroyed
public void contextDestroyed(javax.servlet.ServletContextEvent sce)
- Specified by:
contextDestroyedin interfacejavax.servlet.ServletContextListener
-
-