Keycloak
1<!--
2~ Copyright 2016 Red Hat, Inc. and/or its affiliates
3~ and other contributors as indicated by the @author tags.
4~
5~ Licensed under the Apache License, Version 2.0 (the "License");
6~ you may not use this file except in compliance with the License.
7~ You may obtain a copy of the License at
8~
9~ http://www.apache.org/licenses/LICENSE-2.0
10~
11~ Unless required by applicable law or agreed to in writing, software
12~ distributed under the License is distributed on an "AS IS" BASIS,
13~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14~ See the License for the specific language governing permissions and
15~ limitations under the License.
16-->
17
18<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"19xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">20<modelVersion>4.0.0</modelVersion>21
22<parent>23<artifactId>keycloak-examples-parent</artifactId>24<groupId>org.keycloak</groupId>25<version>999.0.0-SNAPSHOT</version>26</parent>27
28<name>Keycloak Examples - Kerberos Credential Delegation</name>29<artifactId>examples-kerberos</artifactId>30<packaging>war</packaging>31
32<description>33Kerberos Credential Delegation Example
34</description>35
36<dependencies>37<dependency>38<groupId>jakarta.servlet</groupId>39<artifactId>jakarta.servlet-api</artifactId>40<scope>provided</scope>41</dependency>42<dependency>43<groupId>org.keycloak</groupId>44<artifactId>keycloak-core</artifactId>45<scope>provided</scope>46</dependency>47<dependency>48<groupId>org.keycloak</groupId>49<artifactId>keycloak-adapter-core</artifactId>50<scope>provided</scope>51</dependency>52<dependency>53<groupId>org.keycloak</groupId>54<artifactId>keycloak-util-embedded-ldap</artifactId>55<scope>test</scope>56</dependency>57</dependencies>58
59<build>60<finalName>kerberos-portal</finalName>61<plugins>62<plugin>63<groupId>org.jboss.as.plugins</groupId>64<artifactId>jboss-as-maven-plugin</artifactId>65<configuration>66<skip>false</skip>67</configuration>68</plugin>69<plugin>70<groupId>org.wildfly.plugins</groupId>71<artifactId>wildfly-maven-plugin</artifactId>72<configuration>73<skip>false</skip>74</configuration>75</plugin>76</plugins>77</build>78
79<profiles>80<profile>81<id>kerberos</id>82<build>83<plugins>84<plugin>85<groupId>org.codehaus.mojo</groupId>86<artifactId>exec-maven-plugin</artifactId>87<configuration>88<mainClass>org.keycloak.testsuite.KerberosEmbeddedServer</mainClass>89<classpathScope>test</classpathScope>90<systemProperties>91<systemProperty>92<key>ldap.ldif</key>93<value>kerberos-example-users.ldif</value>94</systemProperty>95<systemProperty>96<key>workingDirectory</key>97<value>${project.basedir}/target</value>98</systemProperty>99</systemProperties>100</configuration>101</plugin>102</plugins>103</build>104</profile>105</profiles>106
107</project>108