KEYCLOAK-1928 Fix kerberos with adapter on JDK7

This commit is contained in:
mposolda 2016-02-26 10:49:00 +01:00
parent 4abcb2761f
commit 94b3e85513

View file

@ -53,7 +53,7 @@ public abstract class KerberosJdkProvider {
public GSSCredential kerberosTicketToGSSCredential(KerberosTicket kerberosTicket) { public GSSCredential kerberosTicketToGSSCredential(KerberosTicket kerberosTicket) {
return kerberosTicketToGSSCredential(kerberosTicket, GSSCredential.DEFAULT_LIFETIME, GSSCredential.INITIATE_AND_ACCEPT); return kerberosTicketToGSSCredential(kerberosTicket, GSSCredential.DEFAULT_LIFETIME, GSSCredential.INITIATE_ONLY);
} }
// Actually same on both JDKs // Actually same on both JDKs