Class RootUserSetup

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

    public class RootUserSetup
    extends Object
    implements javax.servlet.ServletContextListener
    On setup, check to see that the specified root user exists. If not, create it. If we can't create it, abort. If any other root users exist, warn about them.
    • Constructor Detail

      • RootUserSetup

        public RootUserSetup()
    • 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