openanalytics / containerproxy

Manage HTTP proxy routes into Docker containers
Apache License 2.0
45 stars 66 forks source link

Cant compile with recent openjdk #41

Closed remche closed 4 years ago

remche commented 4 years ago

Clean compile throws fail on krb :

[ERROR] /data/src/main/java/eu/openanalytics/containerproxy/auth/impl/kerberos/KRBUtils.java:[176,51] no suitable constructor found for KrbTgsReq(sun.security.krb5.Credentials,sun.security.krb5.internal.Ticket,sun.security.krb5.PrincipalName)
[ERROR]     constructor sun.security.krb5.KrbTgsReq.KrbTgsReq(sun.security.krb5.internal.KDCOptions,sun.security.krb5.Credentials,sun.security.krb5.PrincipalName,sun.security.krb5.PrincipalName,sun.security.krb5.PrincipalName,sun.security.krb5.PrincipalName,sun.security.krb5.internal.Ticket[],sun.security.krb5.internal.PAData[]) is not applicable
[ERROR]       (actual and formal argument lists differ in length)
[ERROR]     constructor sun.security.krb5.KrbTgsReq.KrbTgsReq(sun.security.krb5.internal.KDCOptions,sun.security.krb5.Credentials,sun.security.krb5.PrincipalName,sun.security.krb5.PrincipalName,sun.security.krb5.internal.KerberosTime,sun.security.krb5.internal.KerberosTime,sun.security.krb5.internal.KerberosTime,int[],sun.security.krb5.internal.HostAddresses,sun.security.krb5.internal.AuthorizationData,sun.security.krb5.internal.Ticket[],sun.security.krb5.EncryptionKey) is not applicable
[ERROR]       (actual and formal argument lists differ in length)
[ERROR]     constructor sun.security.krb5.KrbTgsReq.KrbTgsReq(sun.security.krb5.internal.KDCOptions,sun.security.krb5.Credentials,sun.security.krb5.PrincipalName,sun.security.krb5.PrincipalName,sun.security.krb5.PrincipalName,sun.security.krb5.PrincipalName,sun.security.krb5.internal.KerberosTime,sun.security.krb5.internal.KerberosTime,sun.security.krb5.internal.KerberosTime,int[],sun.security.krb5.internal.HostAddresses,sun.security.krb5.internal.AuthorizationData,sun.security.krb5.internal.Ticket[],sun.security.krb5.EncryptionKey,sun.security.krb5.internal.PAData[]) is not applicable
[ERROR]       (actual and formal argument lists differ in length)
openjdk version "1.8.0_262"
OpenJDK Runtime Environment (build 1.8.0_262-b10)
OpenJDK 64-Bit Server VM (build 25.262-b10, mixed mode)
remche commented 4 years ago

This is linked to #34

remche commented 4 years ago

I can confirm that @micheljung patch is fixing it.

LEDfan commented 4 years ago

Hi

This is fixed in the latest release of ContainerProxy (0.8.5).