diff --git a/distribution/api-docs-dist/pom.xml b/distribution/api-docs-dist/pom.xml index 2772f40285..81e45ca7ba 100755 --- a/distribution/api-docs-dist/pom.xml +++ b/distribution/api-docs-dist/pom.xml @@ -31,6 +31,7 @@ Keycloak ${project.version} + 11 diff --git a/federation/sssd/src/main/java/org/jvnet/libpam/PAM.java b/federation/sssd/src/main/java/org/jvnet/libpam/PAM.java index 190e7b5413..9dbbb9ad2d 100644 --- a/federation/sssd/src/main/java/org/jvnet/libpam/PAM.java +++ b/federation/sssd/src/main/java/org/jvnet/libpam/PAM.java @@ -78,7 +78,7 @@ public class PAM { */ public PAM(String serviceName) throws PAMException { pam_conv conv = new pam_conv(new PamCallback() { - public int callback(int num_msg, Pointer msg, Pointer resp, Pointer _) { + public int callback(int num_msg, Pointer msg, Pointer resp, Pointer _ptr) { LOGGER.debug("pam_conv num_msg=" + num_msg); if (factors == null) return PAM_CONV_ERR; diff --git a/federation/sssd/src/main/java/org/jvnet/libpam/impl/PAMLibrary.java b/federation/sssd/src/main/java/org/jvnet/libpam/impl/PAMLibrary.java index a34ec3184a..f2a16114c0 100644 --- a/federation/sssd/src/main/java/org/jvnet/libpam/impl/PAMLibrary.java +++ b/federation/sssd/src/main/java/org/jvnet/libpam/impl/PAMLibrary.java @@ -116,18 +116,18 @@ public interface PAMLibrary extends Library { * resp and its member string both needs to be allocated by malloc, * to be freed by the caller. */ - int callback(int num_msg, Pointer msg, Pointer resp, Pointer _); + int callback(int num_msg, Pointer msg, Pointer resp, Pointer _ptr); } public PamCallback conv; - public Pointer _; + public Pointer _ptr; public pam_conv(PamCallback conv) { this.conv = conv; } protected List getFieldOrder() { - return Arrays.asList("conv", "_"); + return Arrays.asList("conv", "_ptr"); } }