amlogin.xml revision 5c39d8f041417518a02ce2c941d96c2d33b2a364
<?xml version="1.0"?>
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure.dtd">
<!--
*
* Copyright 2013 ForgeRock AS.
*
* The contents of this file are subject to the terms of the Common Development and
* Distribution License (the License). You may not use this file except in compliance with the
* License.
*
* You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
* specific language governing permission and limitations under the License.
*
* When distributing Covered Software, include this CDDL Header Notice in each file and include
* the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
* Header, with the fields enclosed by brackets [] replaced by your own identifying
* information: "Portions copyright [year] [name of copyright owner]".
*
-->
<Configure id="Server" class="org.eclipse.jetty.server.Server">
<!--
Set java.security.auth.login.config System property here for convenience
-->
<Call class="java.lang.System" name="setProperty">
<Arg>java.security.auth.login.config</Arg>
<Arg>etc/amlogin.conf</Arg>
</Call>
<!--
The name value is used in web applications that make use of this realm definition.
The LoginModuleName value must match the value set in the JAAS config file, amlogin.conf by default.
-->
<Call name="addBean">
<Arg>
<New class="org.eclipse.jetty.plus.jaas.JAASLoginService">
<Set name="name">Policy Agent Realm</Set>
<Set name="LoginModuleName">amAgentLoginModule</Set>
</New>
</Arg>
</Call>
</Configure>