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

Jim Ma (Jira) issues at jboss.org
Tue Oct 29 03:53:00 EDT 2019


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

Jim Ma commented on JBWS-4180:
------------------------------

[~jbliznak] Thanks for reporting this issue.  These two failures are caused by https://issues.apache.org/jira/browse/CXF-7815 which changes to use reflection to get members from SimpleGroup.  org.jboss.as.webservices.util.SubjectUtil$SimpleGroup is a private static class and it fails with reflection method invocation. I already fixed in wildfly19 : https://github.com/jimma/wildfly/tree/JBWS-4180. Please review. 

Regarding the CustomValidation unused issue, I created https://issues.jboss.org/browse/JBWS-4194  and sent PR https://github.com/jbossws/jbossws-cxf/pull/125  to fix it .

> 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.13.8#713008)



More information about the jbossws-issues mailing list