Class AbstractJetty4x5xEmbeddedLocalContainer

    • Method Detail

      • performExtraSetupOnDeployable

        protected abstract void performExtraSetupOnDeployable​(Object webapp)
                                                       throws Exception
        Allow extending classes to perform extra setup on the web application object.
        Parameters:
        webapp - the Jetty web application object representing the WAR that has been added to be deployed
        Throws:
        Exception - in case of error
      • setSecurityRealm

        protected void setSecurityRealm()
                                 throws Exception
        Defines a security realm and adds defined users to it. If a user has specified the standard ServletPropertySet.USERS property, then we try and turn these into an in-memory default realm, and then set that realm on all of the webapps. TODO: this is not ideal. We need a way to specify N named realms to the server so that individual webapps can find their appropriate realms by name.
        Throws:
        Exception - in case of error