mirror of
https://github.com/dredx/prole.git
synced 2026-09-23 11:03:59 +00:00
- Move all 31 Java files from org/prole/authority to dev/knoe/authority - Update all package declarations, imports, pom.xml groupId, and docs - Add 11 new test classes (PrincipalNormalizerTest, OidcCodeServiceTest, KadminClientTest, TotpServiceTest, HealthControllerTest, EnrollValueTypesTest, KerberosSpnegoResultTest, SessionServiceTest, EnrollmentControllerTest, AdminControllerTest, LoginControllerTest) - Add JaCoCo 0.8.12 + maven-surefire-plugin with Java 25 / Byte Buddy compat flags - Fix LoginController CSS format string bug (100% -> 100%%) - Result: 96 tests, 0 failures; 50.2% line / 46.5% instruction / 37.1% branch coverage Co-authored-by: Junie <junie@jetbrains.com>
146 lines
4.6 KiB
XML
146 lines
4.6 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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
<version>3.1.0</version>
|
|
<relativePath/>
|
|
</parent>
|
|
|
|
<groupId>dev.knoe</groupId>
|
|
<artifactId>authority</artifactId>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
<name>knoe-authority</name>
|
|
<description>Knoe authentication gateway</description>
|
|
|
|
<properties>
|
|
<java.version>21</java.version>
|
|
</properties>
|
|
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<!-- Kerberos/Security dependencies -->
|
|
<dependency>
|
|
<groupId>org.springframework.security.kerberos</groupId>
|
|
<artifactId>spring-security-kerberos-client</artifactId>
|
|
<version>2.0.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
<artifactId>jjwt-api</artifactId>
|
|
<version>0.11.5</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
<artifactId>jjwt-impl</artifactId>
|
|
<version>0.11.5</version>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
<artifactId>jjwt-jackson</artifactId>
|
|
<version>0.11.5</version>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
|
|
<!-- ── knoe-auth Round 1: enrollment dependencies ────────────────────── -->
|
|
|
|
<!-- TOTP (RFC 6238 — Google Authenticator compatible) -->
|
|
<dependency>
|
|
<groupId>dev.samstevens.totp</groupId>
|
|
<artifactId>totp-spring-boot-starter</artifactId>
|
|
<version>1.7.1</version>
|
|
</dependency>
|
|
|
|
<!-- Google OAuth2 ID token verification -->
|
|
<dependency>
|
|
<groupId>com.google.api-client</groupId>
|
|
<artifactId>google-api-client</artifactId>
|
|
<version>2.4.0</version>
|
|
</dependency>
|
|
|
|
<!-- Database access (CNPG / PostgreSQL) -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-jdbc</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.postgresql</groupId>
|
|
<artifactId>postgresql</artifactId>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
|
|
<!-- BCrypt for OTP hashing (backup code hashing) -->
|
|
<dependency>
|
|
<groupId>org.springframework.security</groupId>
|
|
<artifactId>spring-security-crypto</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<argLine>@{argLine} -Dnet.bytebuddy.experimental=true</argLine>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.jacoco</groupId>
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
<version>0.8.12</version>
|
|
<executions>
|
|
<execution>
|
|
<goals><goal>prepare-agent</goal></goals>
|
|
<configuration>
|
|
<excludes>
|
|
<exclude>java/**</exclude>
|
|
<exclude>javax/**</exclude>
|
|
<exclude>jdk/**</exclude>
|
|
<exclude>sun/**</exclude>
|
|
<exclude>com/sun/**</exclude>
|
|
<exclude>org/ietf/**</exclude>
|
|
<exclude>org/omg/**</exclude>
|
|
<exclude>org/w3c/**</exclude>
|
|
<exclude>org/xml/**</exclude>
|
|
</excludes>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>report</id>
|
|
<phase>test</phase>
|
|
<goals><goal>report</goal></goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|