[jbossws-issues] [JBoss JIRA] (JBWS-4180) UsernameAuthorizationTestCase & UsernameAuthorizationDigestTestCase fail with elytron profile after upgrade to CXF 3.3.x

Jan Blizňák (Jira) issues at jboss.org
Tue Aug 13 14:38:00 EDT 2019


    [ https://issues.jboss.org/browse/JBWS-4180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13770406#comment-13770406 ] 

Jan Blizňák commented on JBWS-4180:
-----------------------------------

Looking at PR https://github.com/jbossws/jbossws-cxf/commit/149c0fc8d19e566541d919e73b608ae53ca3fefb I can see that method is removed https://github.com/jbossws/jbossws-cxf/commit/149c0fc8d19e566541d919e73b608ae53ca3fefb#diff-a1217ed7fad4ab31725d3c30897edfaeL180-L189 but this makes the CustomValidator class unused, this might not be the cause of the issue reported here but if it is a dead code, it should be removed too.

> UsernameAuthorizationTestCase & UsernameAuthorizationDigestTestCase fail with elytron profile after upgrade to CXF 3.3.x
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBWS-4180
>                 URL: https://issues.jboss.org/browse/JBWS-4180
>             Project: JBoss Web Services
>          Issue Type: Bug
>    Affects Versions: jbossws-cxf-5.3.0.Final
>            Reporter: Jan Blizňák
>            Assignee: Jim Ma
>            Priority: Critical
>
> 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:
> {code:java}
> # 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
> {code}



--
This message was sent by Atlassian Jira
(v7.12.1#712002)



More information about the jbossws-issues mailing list