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

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

    XMLWordPrintable

Details

    Description

      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)
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: