This is an automated email from the ASF dual-hosted git repository.
reta pushed a change to branch CXF-7601_microProfileOpenApi
in repository https://gitbox.apache.org/repos/asf/cxf.git.
discard 8e4ac02 Rebased against latest master, added a sample project for
OpenAPI v3.0 using microprofile implementation
discard dc80d63 update new module to 3.3.1-SNAPSHOT
discard c288423 [CXF-7601] Add support for Microprofile OpenAPI
implementation (as an alternative to Swagger Core 2.0)
new 558d3a1 Updating HTTP Signature
new 2f193c4 Finished PMD work
new f01c2b2 CXF-7955 - Update HttpComponents client to 4.5.8 and core
4.4.11
new 9d54d3d Fixing test with latest httpsig library
new 960fc61 Putting an underscore before the Signature ID to make it
schema compliant
new fd6478b Updating comment
new 1391543 Adding a few more HTTP Sig tests
new 776ffeb add a PrivateKeyProvider
new 5480eb2 fix tests
new 4b4723e cosmetics and fix signature
new 260cfe3 this can be final
new 2157f30 fix test
new cdb1895 Merge pull request #530 from
davidkarlsen/feature/privateKeyProvider
new 1159eff cxf-rt-frontend-jaxrs: fix PVS-Studio errors/warnings
new 87d6a27 Removing some unused parameters
new b3a73b3 Adding a policy operation test for WS-Security
new 5578e0b Adding a few more test assertions
new add43c5 Removing unused helper method that doesn't use StaxUtils to
parse the wsdl
new 82fafed CXF-7983 - Support 204 for the other client response filters
new 9005703 Adding an (empty) HTTP Digest test
new 0b808a6 Fixing test
new 9d363d1 cxf-rt-rs-security-oauth2: fix 'Potential null dereference'
(#534)
new ae7c3dc CXF-8010 - Avoid applying the SAAJInInterceptor to unsecured
messages when using WS-SecurityPolicy
new f033e22 cxf-rt-rs-security-jose: fix PVS-Studio errors/warnings
new 9991fa7 Updating Spring Security
new 3c5de45 WSS4J upgrade
new 15982b9 CXF-8009: CXF should not rely on ClassUtils for CGLIB proxy
checks (#529)
new a6e9544 add client digest interceptor
new 61605d1 have a default constructor and algo
new 47ee9bd consistent classnaming, use request charset if specified
new 80c949f fix bug in filter, activate filter in test
new 92c5a87 alternative implementation
new 40b9814 Merge pull request #531 from
davidkarlsen/feature/digestInterceptor
new 77af6d4 Updating Spring + Spring Boot
new 2344860 Adding HTTP Digest systests
new 3f14492 Added SignatureHeaderUtils tests plus a few updates to the
code
new 60b0165 Adding an initial signature + digest test
new 8366b72 Fixing failing test with JDK11
new 7d62e7f Add -npa to code generation to avoid the package-info.java
file
new 89b734f add more generic interface which allows to use a sharedKey/Key
new 9bcd7c2 Merge pull request #536 from
davidkarlsen/feature/supportSharedKeys
new e69c211 Added tests for SecurityConstants.PASSWORD + fixed a StAX bug
new 4b8cbbe Removing PrivateKeyProvider
new 015456f Deprecate PublicKeyProvider
new 86552aa Making default security provider null
new 2484a8d Adding symmetric signature test
new 8b3b247 [CXF-7601] Add support for Microprofile OpenAPI
implementation (as an alternative to Swagger Core 2.0)
new 7643981 update new module to 3.3.1-SNAPSHOT
new e37eac3 Rebased against latest master, added a sample project for
OpenAPI v3.0 using microprofile implementation
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (8e4ac02)
\
N -- N -- N refs/heads/CXF-7601_microProfileOpenApi (e37eac3)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 14870 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../org/apache/cxf/common/util/ClassHelper.java | 64 +++-
.../org/apache/cxf/common/util/ClassUnwrapper.java | 23 +-
...pClassHelper.java => SpringClassUnwrapper.java} | 42 ++-
.../apache/cxf/common/util/ClassHelperTest.java | 88 ++++-
.../pom.xml | 6 +-
.../java/demo/jaxrs/openapi/server/AppConfig.java | 5 +-
.../java/demo/jaxrs/openapi/server/Sample.java | 2 +-
.../java/org/apache/cxf/cdi/CdiClassUnwrapper.java | 5 +
.../cxf/maven_plugin/AbstractCodegenMoho.java | 20 +-
parent/pom.xml | 41 ++-
rt/bindings/corba/pom.xml | 1 +
.../soap/interceptor/Soap11FaultInInterceptor.java | 2 +-
.../org/apache/cxf/jaxb/JAXBDataBindingTest.java | 5 +-
.../apache/cxf/jaxrs/ext/MessageContextImpl.java | 1 -
.../apache/cxf/jaxrs/impl/LinkHeaderProvider.java | 2 +-
.../apache/cxf/jaxrs/impl/ResponseBuilderImpl.java | 2 +-
.../org/apache/cxf/jaxrs/impl/ResponseImpl.java | 6 +-
.../org/apache/cxf/jaxrs/impl/UriBuilderImpl.java | 4 +-
.../cxf/jaxrs/model/AbstractResourceInfo.java | 8 +-
.../jaxrs/model/ClassResourceInfoComparator.java | 2 +-
.../model/OperationResourceInfoComparator.java | 2 +-
.../cxf/jaxrs/provider/DataSourceProvider.java | 6 +-
.../cxf/jaxrs/provider/FormEncodingProvider.java | 7 +-
.../cxf/jaxrs/provider/MultipartProvider.java | 19 +-
.../java/org/apache/cxf/jaxrs/utils/HttpUtils.java | 4 +-
.../org/apache/cxf/jaxrs/utils/InjectionUtils.java | 13 +-
.../cxf/jaxrs/SelectMethodCandidatesTest.java | 119 ++-----
.../cxf/jaxrs/ext/MessageContextImplTest.java | 20 +-
.../cxf/jaxrs/impl/RequestPreprocessorTest.java | 15 +-
.../apache/cxf/jaxrs/impl/ResponseImplTest.java | 27 +-
.../lifecycle/PerRequestResourceProviderTest.java | 18 +-
.../cxf/jaxrs/model/OperationResourceInfoTest.java | 5 +-
.../jaxrs/provider/JAXBElementProviderTest.java | 17 +-
.../jaxrs/provider/PrimitiveTextProviderTest.java | 2 +-
.../cxf/jaxrs/provider/ProviderFactoryTest.java | 3 +-
.../cxf/jaxrs/provider/XSLTJaxbProviderTest.java | 17 +-
.../apache/cxf/jaxrs/utils/InjectionUtilsTest.java | 24 +-
.../org/apache/cxf/jaxrs/utils/JAXRSUtilsTest.java | 154 ++++-----
rt/rs/description-microprofile-openapi/pom.xml | 19 +-
.../jaxrs/microprofile/openapi/OpenApiFeature.java | 50 ++-
.../rs/security/httpsignature/MessageSigner.java | 20 +-
.../rs/security/httpsignature/MessageVerifier.java | 36 +-
.../security/httpsignature/SignatureValidator.java | 4 +-
.../httpsignature/TomitribeSignatureCreator.java | 15 +-
.../httpsignature/TomitribeSignatureValidator.java | 12 +-
.../filters/AbstractSignatureOutFilter.java | 8 +-
.../filters/CreateDigestInterceptor.java | 94 ++++++
.../filters/VerifyDigestInterceptor.java | 16 +-
.../httpsignature/provider/KeyProvider.java} | 15 +-
.../httpsignature/provider/PublicKeyProvider.java | 3 +-
.../httpsignature/utils/SignatureHeaderUtils.java | 19 +-
.../httpsignature/MessageVerifierTest.java | 27 +-
.../security/httpsignature/SpecExamplesTest.java | 23 +-
.../provider/MockPublicKeyProvider.java | 40 ---
.../provider/MockSecurityProvider.java | 2 +
.../utils/SignatureHeaderUtilsTest.java | 62 ++++
.../jose/jaxrs/AbstractJweJsonWriterProvider.java | 2 +-
.../jose/jaxrs/JweJsonClientResponseFilter.java | 6 +
.../jose/jaxrs/JwsClientResponseFilter.java | 10 +-
.../jose/jaxrs/JwsJsonClientResponseFilter.java | 7 +-
.../jose/jaxrs/JwsJsonWriterInterceptor.java | 2 +-
.../cxf/rs/security/jose/common/JoseUtils.java | 8 +-
.../cxf/rs/security/jose/jwa/AlgorithmUtils.java | 83 ++---
.../security/jose/jwe/AbstractJweEncryption.java | 2 +-
.../cxf/rs/security/jose/jwe/JweJsonConsumer.java | 4 +-
.../apache/cxf/rs/security/jose/jwe/JweUtils.java | 4 -
.../oauth2/grants/code/JPACodeDataProvider.java | 4 +-
.../oauth2/provider/JPAOAuthDataProvider.java | 72 ++--
.../security/oauth2/tokens/hawk/HmacAlgorithm.java | 11 +-
.../cxf/rs/security/xml/XmlSigOutInterceptor.java | 2 +-
.../apache/cxf/rt/security/SecurityConstants.java | 3 +-
.../org/apache/cxf/rt/security/claims/Claim.java | 2 +-
.../websocket/ahc/AhcWebSocketConduit.java | 2 +-
.../security/wss4j/AbstractWSS4JInterceptor.java | 4 +
.../wss4j/AbstractWSS4JStaxInterceptor.java | 12 +-
.../cxf/ws/security/wss4j/CryptoCoverageUtil.java | 3 +
.../wss4j/PolicyBasedWSS4JInInterceptor.java | 77 ++++-
.../cxf/ws/security/wss4j/WSS4JInInterceptor.java | 11 +-
.../RequiredElementsPolicyValidator.java | 20 +-
.../policyvalidators/SamlTokenPolicyValidator.java | 3 +-
.../SecuredElementsPolicyValidator.java | 20 +-
.../SecuredPartsPolicyValidator.java | 14 +-
.../security/wss4j/AbstractPolicySecurityTest.java | 10 +
.../ws/security/wss4j/AbstractSecurityTest.java | 8 +
.../wss4j/PluggablePolicyValidatorTest.java | 11 +
.../security/wss4j/saml/PolicyBasedSamlTest.java | 13 +
.../main/java/org/apache/cxf/wsdl/WSDLHelper.java | 9 -
.../org/apache/cxf/sts/claims/ProcessedClaim.java | 2 +-
.../httpsignature/CustomPublicKeyProvider.java | 4 +-
.../httpsignature/CustomSecurityProvider.java | 33 --
.../httpsignature/JAXRSHTTPSignatureTest.java | 366 +++++++++++++++++++--
...ider.java => PrivateKeyProviderTestHelper.java} | 12 +-
.../jaxrs/security/httpsignature/server.xml | 18 +-
.../PasswordPropertiesTest.java} | 67 ++--
.../systest/ws/{action => password}/Server.java | 2 +-
.../systest/ws/policy/PolicyAlternativeTest.java | 53 +--
.../ws/policy/operation/PolicyOperationTest.java} | 49 ++-
.../cxf/systest/ws/policy/operation}/Server.java | 2 +-
.../systest/ws/security/SecurityPolicyTest.java | 16 +-
.../apache/cxf/systest/ws/swa/SWAActionTest.java | 17 +-
.../apache/cxf/systest/ws/swa/SWAPolicyTest.java | 23 +-
.../DoubleItPassword.wsdl} | 70 ++--
.../cxf/systest/ws/{xkms => password}/server.xml | 19 +-
.../operation/DoubleItPolicyOperation.wsdl} | 61 ++--
.../operation/client.xml} | 13 +-
.../bst-server.xml => policy/operation/server.xml} | 15 +-
.../java2wsdl/processor/JavaToProcessorTest.java | 18 +-
107 files changed, 1609 insertions(+), 956 deletions(-)
rename
core/src/main/java/org/apache/cxf/common/util/{SpringAopClassHelper.java =>
SpringClassUnwrapper.java} (62%)
create mode 100644
rt/rs/security/http-signature/src/main/java/org/apache/cxf/rs/security/httpsignature/filters/CreateDigestInterceptor.java
copy
rt/rs/security/http-signature/src/{test/java/org/apache/cxf/rs/security/httpsignature/provider/MockAlgorithmProvider.java
=>
main/java/org/apache/cxf/rs/security/httpsignature/provider/KeyProvider.java}
(75%)
delete mode 100644
rt/rs/security/http-signature/src/test/java/org/apache/cxf/rs/security/httpsignature/provider/MockPublicKeyProvider.java
create mode 100644
rt/rs/security/http-signature/src/test/java/org/apache/cxf/rs/security/httpsignature/utils/SignatureHeaderUtilsTest.java
delete mode 100644
systests/rs-security/src/test/java/org/apache/cxf/systest/jaxrs/security/httpsignature/CustomSecurityProvider.java
rename
systests/rs-security/src/test/java/org/apache/cxf/systest/jaxrs/security/httpsignature/{PrivateKeyProvider.java
=> PrivateKeyProviderTestHelper.java} (84%)
copy
systests/ws-security/src/test/java/org/apache/cxf/systest/ws/{xkms/XKMSTest.java
=> password/PasswordPropertiesTest.java} (63%)
copy systests/ws-security/src/test/java/org/apache/cxf/systest/ws/{action =>
password}/Server.java (96%)
copy
systests/{uncategorized/src/test/java/org/apache/cxf/systest/soap/StaxTransformFeatureTest.java
=>
ws-security/src/test/java/org/apache/cxf/systest/ws/policy/operation/PolicyOperationTest.java}
(57%)
copy
systests/{ws-security-examples/src/test/java/org/apache/cxf/systest/wssec/examples/ut
=>
ws-security/src/test/java/org/apache/cxf/systest/ws/policy/operation}/Server.java
(96%)
copy
systests/ws-security/src/test/resources/org/apache/cxf/systest/ws/{httpget/DoubleItHTTPGet.wsdl
=> password/DoubleItPassword.wsdl} (72%)
copy systests/ws-security/src/test/resources/org/apache/cxf/systest/ws/{xkms
=> password}/server.xml (77%)
copy
systests/ws-security/src/test/resources/org/apache/cxf/systest/ws/{x509/DoubleItOperations.wsdl
=> policy/operation/DoubleItPolicyOperation.wsdl} (68%)
copy
systests/ws-security/src/test/resources/org/apache/cxf/systest/ws/{fault/client-untrusted.xml
=> policy/operation/client.xml} (85%)
copy
systests/ws-security/src/test/resources/org/apache/cxf/systest/ws/{tokens/bst-server.xml
=> policy/operation/server.xml} (75%)