I changed now subject to
LoginContext lc = new LoginContext("host");
Subject serverSubject = lc.getSubject();
There seems to be some negotiation then but in the end an error comes from GSSAPIAuthenticationMechanism that a X509 Certificate is expected.
Detail Message is: java.lang.IllegalArgumentException: Parameter must be a X509CertificateCredential
Hi Michael Schiessl
Were you able to integrate the SPNEGO with wildfly 8.2.X version? if yes, could you please let me know the steps which you have followed.