Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-545

io.undertow.server.security.SpnegoAuthenticationTestCase#testSpnegoSuccess fails on IBM 1.8 JDK

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.0.0.Beta1, 1.4.4.Final
    • 1.3.0.CR1
    • Security
    • None

      The SPNEGO authentication test case fails on IBM JDK as when the server is requested, it returns forbidden (403) instead of unauthorized (401).

      testSpnegoSuccess(io.undertow.server.security.SpnegoAuthenticationTestCase)  Time elapsed: 0.403 sec  <<< FAILURE!
      java.lang.AssertionError: expected:<401> but was:<403>
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.junit.Assert.failNotEquals(Assert.java:834)
      	at org.junit.Assert.assertEquals(Assert.java:645)
      	at org.junit.Assert.assertEquals(Assert.java:631)
      	at io.undertow.server.security.SpnegoAuthenticationTestCase.testSpnegoSuccess(SpnegoAuthenticationTestCase.java:94)
      

              rhatlapa@redhat.com Radim Hatlapatka (Inactive)
              rhatlapa@redhat.com Radim Hatlapatka (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: