43 lines
1.7 KiB
XML
43 lines
1.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<groupId>org.eclipse.jetty.ee10.demos</groupId>
|
|
<artifactId>jetty-ee10-demos</artifactId>
|
|
<version>12.0.0-SNAPSHOT</version>
|
|
</parent>
|
|
<artifactId>jetty-ee10-demo-jaas-webapp</artifactId>
|
|
<name>EE10 :: Jetty Demo :: JAAS :: WebApp</name>
|
|
<packaging>war</packaging>
|
|
<properties>
|
|
<bundle-symbolic-name>${project.groupId}.jaas</bundle-symbolic-name>
|
|
</properties>
|
|
<build>
|
|
<!--
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.eclipse.jetty.ee10</groupId>
|
|
<artifactId>jetty-ee10-maven-plugin</artifactId>
|
|
<version>${project.version}</version>
|
|
<configuration>
|
|
<scan>10</scan>
|
|
<systemProperties>
|
|
<jetty.base>${basedir}/src/main/config/modules/demo.d</jetty.base>
|
|
<java.security.auth.login.config>${basedir}/src/main/etc/ee10-demo-login.conf</java.security.auth.login.config>
|
|
</systemProperties>
|
|
<webApp>
|
|
<contextPath>/ee10-test-jaas</contextPath>
|
|
<securityHandler implementation="org.eclipse.jetty.ee10.security.ConstraintSecurityHandler">
|
|
<loginService implementation="org.eclipse.jetty.ee10.jaas.JAASLoginService">
|
|
<name>Test JAAS Realm</name>
|
|
<loginModuleName>ee10-xyz</loginModuleName>
|
|
</loginService>
|
|
</securityHandler>
|
|
</webApp>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
-->
|
|
</build>
|
|
</project>
|