.web.samples.auth-config-fragment-jetty.8.0.20.source-code.jetty.xml Maven / Gradle / Ivy
<?xml version="1.0"?> <!-- Copyright 2021 OPS4J. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_3.dtd"> <Configure id="Server" class="org.eclipse.jetty.server.Server"> <Call name="addBean"> <Arg> <New class="org.eclipse.jetty.security.HashLoginService"> <Set name="name">Test Realm</Set> <!-- File will be loaded relatively to pax-web-itest-jetty module --> <Set name="config">target/test-classes/realm.properties</Set> </New> </Arg> </Call> <Call name="addBean"> <Arg> <New class="org.eclipse.jetty.security.HashLoginService"> <Set name="name">default</Set> <!-- File will be loaded relatively to pax-web-itest-jetty module --> <Set name="config">target/test-classes/realm.properties</Set> </New> </Arg> </Call> </Configure>