Community
Participate
Working Groups
Testcase: the configuration of the test-jetty-webapp uses the HashLoginService which itself refers to a properties file. The enhancement consists of being able to embed the configuration of the properties file. It requires that when the jetty-web.xml is read by the WebInfConfiguration a new property is set with the URL of the WEB-INF folder. <Configure class="org.eclipse.jetty.webapp.WebAppContext"> ... <Get name="securityHandler"> <Set name="loginService"> <New class="org.eclipse.jetty.security.HashLoginService"> <Set name="name">Test Realm</Set> <Set name="config"><Property name="this.web-inf.url"/>realm.properties</Set> </New> </Set> <Set name="checkWelcomeFiles">true</Set> </Get> </Configure>
Created attachment 172878 [details] Patch to setup the property 'this.web-inf.url' to the jetty-web.xml configuration
Created attachment 172881 [details] Same patch minus one trivial bug
Greg the patch has been committed. Pending your review I'll document it on the wiki page related to jetty-web.xml
Jan, can you look at this patch from hugues and see if it fits with your new configuration stuff that is coming?
This patch is fine by me. Greg - does it have any implications for the templated deployment of webapps? thanks Jan
applied some time ago in r2055
Resolved -> Closed