Class SpnegoAuthenticator.SpnegoTokenFixer

  • Enclosing class:

    public static class SpnegoAuthenticator.SpnegoTokenFixer
    extends java.lang.Object
    This class implements a hack around an incompatibility between the SPNEGO implementation in Windows and the SPNEGO implementation in Java 8 update 40 onwards. It was introduced by the change to fix this bug: (note: the change applied is not the one suggested in the bug report)

    It is not clear to me if Windows, Java or Tomcat is at fault here. I think it is Java but I could be wrong.

    This hack works by re-ordering the list of mechTypes in the NegTokenInit token.

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void fix​(byte[] token)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • fix

        public static void fix​(byte[] token)