Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-4180

UsernameAuthorizationTestCase & UsernameAuthorizationDigestTestCase fail with elytron profile after upgrade to CXF 3.3.x

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • jbossws-cxf-5.4.0.Final
    • jbossws-cxf-5.3.0.Final
    • None
    • None

    Description

      The WS-Security Policy tests org.jboss.test.ws.jaxws.samples.wsse.policy.jaas.UsernameAuthorizationTestCase and org.jboss.test.ws.jaxws.samples.wsse.policy.jaas.UsernameAuthorizationDigestTestCase fail when running testsuite with elytron profile (server security configured via elytron subsystem).

      The breaking commit is https://github.com/jbossws/jbossws-cxf/commit/149c0fc8d19e566541d919e73b608ae53ca3fefb

      To reproduce:

      # last commit that passes
      git checkout fbdbe55e6ff686cad85be6552e1139efb87645f8
      mvn clean verify -Pwildfly1600 -pl :jbossws-cxf-specific-tests -am -Dtest=UsernameAuthorizationTestCaseUsernameAuthorizationDigestTestCase, -DadditionalGroovyScriptSuffix=-elytron
      
      # fails
      git checkout 149c0fc8d19e566541d919e73b608ae53ca3fefb
      mvn clean verify -Pwildfly1600 -pl :jbossws-cxf-specific-tests -am -Dtest=UsernameAuthorizationTestCase,UsernameAuthorizationDigestTestCase -DadditionalGroovyScriptSuffix=-elytron
      
      # passes without elytron configuration
      mvn clean verify -Pwildfly1600 -pl :jbossws-cxf-specific-tests -am -Dtest=UsernameAuthorizationTestCase,UsernameAuthorizationDigestTestCase
      

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-ema Jim Ma
              jbliznak@redhat.com Jan Blizňák
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: