Include JNA dependency for the SSSD in the keycloak server (#37905)

Closes #37898

Signed-off-by: rmartinc <rmartinc@redhat.com>
This commit is contained in:
Ricardo Martin 2025-03-07 17:56:33 +01:00 committed by GitHub
parent aabd7571ec
commit 6751c8cb35
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

View File

@ -55,7 +55,9 @@ public class PAMAuthenticator {
logger.error("Authentication failed", e);
e.printStackTrace();
} finally {
pam.dispose();
if (pam != null) {
pam.dispose();
}
}
return user;
}

View File

@ -646,6 +646,10 @@
<artifactId>nashorn-core</artifactId>
<version>${nashorn.version}</version>
</dependency>
<dependency>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna</artifactId>
</dependency>
<dependency>
<groupId>junit</groupId>