[resteasy/Resteasy] 47b016: [RESTEASY-2728] Clients running in a resource meth...
by Ron Sigal
Branch: refs/heads/3.11
Home: https://github.com/resteasy/Resteasy
Commit: 47b01662c8a3916b69e7b70a09bd7fd5f399ab7f
https://github.com/resteasy/Resteasy/commit/47b01662c8a3916b69e7b70a09bd7...
Author: Ron Sigal <rsigal(a)redhat.com>
Date: 2020-12-02 (Wed, 02 Dec 2020)
Changed paths:
M docbook/reference/en/en-US/modules/ExceptionMappers.xml
M docbook/reference/en/en-US/modules/Installation_Configuration.xml
M resteasy-client-microprofile/src/main/java/org/jboss/resteasy/microprofile/client/DefaultResponseExceptionMapper.java
M resteasy-client/src/main/java/org/jboss/resteasy/client/jaxrs/internal/ClientInvocation.java
A resteasy-jaxrs/src/main/java/org/jboss/resteasy/client/exception/ResteasyBadRequestException.java
A resteasy-jaxrs/src/main/java/org/jboss/resteasy/client/exception/ResteasyClientErrorException.java
A resteasy-jaxrs/src/main/java/org/jboss/resteasy/client/exception/ResteasyForbiddenException.java
A resteasy-jaxrs/src/main/java/org/jboss/resteasy/client/exception/ResteasyInternalServerErrorException.java
A resteasy-jaxrs/src/main/java/org/jboss/resteasy/client/exception/ResteasyNotAcceptableException.java
A resteasy-jaxrs/src/main/java/org/jboss/resteasy/client/exception/ResteasyNotAllowedException.java
A resteasy-jaxrs/src/main/java/org/jboss/resteasy/client/exception/ResteasyNotAuthorizedException.java
A resteasy-jaxrs/src/main/java/org/jboss/resteasy/client/exception/ResteasyNotFoundException.java
A resteasy-jaxrs/src/main/java/org/jboss/resteasy/client/exception/ResteasyNotSupportedException.java
A resteasy-jaxrs/src/main/java/org/jboss/resteasy/client/exception/ResteasyRedirectionException.java
A resteasy-jaxrs/src/main/java/org/jboss/resteasy/client/exception/ResteasyServerErrorException.java
A resteasy-jaxrs/src/main/java/org/jboss/resteasy/client/exception/ResteasyServiceUnavailableException.java
A resteasy-jaxrs/src/main/java/org/jboss/resteasy/client/exception/ResteasyWebApplicationException.java
A resteasy-jaxrs/src/main/java/org/jboss/resteasy/client/exception/WebApplicationExceptionWrapper.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/plugins/server/servlet/ResteasyContextParameters.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/spi/ResteasyProviderFactory.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/util/ThreadLocalStack.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/client/exception/ClientWebApplicationExceptionMicroProfileProxyNewBehaviorTest.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/client/exception/ClientWebApplicationExceptionMicroProfileProxyOldBehaviorTest.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/client/exception/ClientWebApplicationExceptionNewBehaviorTest.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/client/exception/ClientWebApplicationExceptionOldBehaviorTest.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/client/exception/ClientWebApplicationExceptionResteasyProxyNewBehaviorTest.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/client/exception/ClientWebApplicationExceptionResteasyProxyOldBehaviorTest.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/client/exception/resource/ClientWebApplicationExceptionApplication.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/client/exception/resource/ClientWebApplicationExceptionExceptions.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/client/exception/resource/ClientWebApplicationExceptionMicroProfileProxyApplication.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/client/exception/resource/ClientWebApplicationExceptionMicroProfileProxyResource.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/client/exception/resource/ClientWebApplicationExceptionProxyResourceInterface.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/client/exception/resource/ClientWebApplicationExceptionResource.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/client/exception/resource/ClientWebApplicationExceptionResteasyProxyApplication.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/client/exception/resource/ClientWebApplicationExceptionResteasyProxyResource.java
M testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/exception/ClosedResponseHandlingTest.java
M testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/exception/resource/ClosedResponseHandlingResource.java
A testsuite/integration-tests/src/test/resources/org/jboss/resteasy/test/client/exception/wae_web.xml
M testsuite/microprofile-tck/pom.xml
Log Message:
-----------
[RESTEASY-2728] Clients running in a resource method throw safer WebApplicationException (#2602)
* [RESTEASY-2728] Clients running in a resource method throw safer WebApplicationExceptions
[RESTEASY-2728] Added arquillian tests.
[RESTEASY-2728] Correct serialVersionUID in some of the new ClientWebApplicationExceptions.
[RESTEASY-2728] Adding documentation to User Guide.
* [RESTEASY-2728] Make the custom WebApplicationException's wrap the exception they're replacing. Also create a sanitized response for the exceptions. Add an API used to wrap/unwrap the exceptions.
https://issues.redhat.com/browse/RESTEASY-2728
* [RESTEASY-2728] Porting fix to 3.11.
[RESTEASY-2728] Adding wae_web.xml.
[RESTEASY-2728] Added new config parameter to docbook.
[RESTEASY-2728] Disable some failing MP REST Client TCK tests.
Co-authored-by: James Perkins <jperkins(a)redhat.com>
3 years, 12 months
[resteasy/Resteasy] c70437: [RESTEASY-2681] merged changes from keycloak into ...
by rsearls
Branch: refs/heads/3.11
Home: https://github.com/resteasy/Resteasy
Commit: c70437a1da30a700f4e9c9a6f1aecf8d81f713ef
https://github.com/resteasy/Resteasy/commit/c70437a1da30a700f4e9c9a6f1aec...
Author: R Searls <rsearls(a)redhat.com>
Date: 2020-12-02 (Wed, 02 Dec 2020)
Changed paths:
M security/jose-jwt/pom.xml
A security/jose-jwt/src/main/java/org/jboss/resteasy/crypto/SignatureSignerContext.java
M security/jose-jwt/src/main/java/org/jboss/resteasy/jose/jws/Algorithm.java
A security/jose-jwt/src/main/java/org/jboss/resteasy/jose/jws/AlgorithmType.java
M security/jose-jwt/src/main/java/org/jboss/resteasy/jose/jws/JWSBuilder.java
M security/jose-jwt/src/main/java/org/jboss/resteasy/jose/jws/JWSHeader.java
M security/jose-jwt/src/main/java/org/jboss/resteasy/jose/jws/JWSInput.java
A security/jose-jwt/src/main/java/org/jboss/resteasy/jose/jws/JWSInputException.java
M security/jose-jwt/src/main/java/org/jboss/resteasy/jose/jws/crypto/HMACProvider.java
M security/jose-jwt/src/main/java/org/jboss/resteasy/jose/jws/crypto/RSAProvider.java
A security/jose-jwt/src/main/java/org/jboss/resteasy/jose/jws/crypto/SignatureProvider.java
A security/jose-jwt/src/main/java/org/jboss/resteasy/jose/jws/util/Base64.java
A security/jose-jwt/src/main/java/org/jboss/resteasy/jose/jws/util/Base64Url.java
A security/jose-jwt/src/main/java/org/jboss/resteasy/jose/jws/util/BouncyIntegration.java
A security/jose-jwt/src/main/java/org/jboss/resteasy/jose/jws/util/DerUtils.java
A security/jose-jwt/src/main/java/org/jboss/resteasy/jose/jws/util/JsonSerialization.java
A security/jose-jwt/src/main/java/org/jboss/resteasy/jose/jws/util/Key.java
A security/jose-jwt/src/main/java/org/jboss/resteasy/jose/jws/util/PemException.java
A security/jose-jwt/src/main/java/org/jboss/resteasy/jose/jws/util/PemUtils.java
M testsuite/unit-tests/src/test/java/org/jboss/resteasy/test/jose/JWSTest.java
Log Message:
-----------
[RESTEASY-2681] merged changes from keycloak into code base
3 years, 12 months