You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by db...@apache.org on 2022/10/02 19:03:18 UTC
[tomee] branch TOMEE-4050 updated (d3a8a20e04 -> 7d21a2079b)
This is an automated email from the ASF dual-hosted git repository.
dblevins pushed a change to branch TOMEE-4050
in repository https://gitbox.apache.org/repos/asf/tomee.git
from d3a8a20e04 iTests for invalid keys in key rotation and initialization TOMEE-4050
add e0c2d27e1c 401 on access timeout. Rework logging. TOMEE-4050
add 7d21a2079b iTests for logging on key initialization TOMEE-4050
No new revisions were added by this update.
Summary of changes:
.../org/apache/openejb/util/CachedSupplier.java | 40 ++++++--
.../apache/openejb/util/CachedSupplierTest.java | 2 +-
itests/itest-common/pom.xml | 5 +
.../org/apache/tomee/itest/common/Logging.java} | 39 +++++---
...p500Test.java => HttpKeyAccessTimeoutTest.java} | 104 ++++++---------------
.../http/HttpKeyInitializationEmptyKeySetTest.java | 18 +++-
.../http/HttpKeyInitializationHttp500Test.java | 18 +++-
.../http/HttpKeyInitializationNoValidKeysTest.java | 19 +++-
.../apache/tomee/microprofile/jwt/MPJWTFilter.java | 55 ++++++++++-
.../jwt/config/JWTAuthConfigurationProperties.java | 47 +---------
.../DecryptKeys.java} | 26 ++++--
.../tomee/microprofile/jwt/keys/FixedKeys.java | 25 +++--
.../tomee/microprofile/jwt/keys/HttpLocation.java | 95 +++++++++++++++++++
.../jwt/{config => keys}/KeyResolver.java | 27 +++---
.../tomee/microprofile/jwt/keys/PublicKeys.java | 59 ++++++++++++
.../tomee/microprofile/jwt/keys/UrlLocation.java | 67 +++++++++++++
.../microprofile/jwt/config/KeyResolverTest.java | 1 +
17 files changed, 472 insertions(+), 175 deletions(-)
copy itests/{microprofile-jwt-itests/src/test/java/org/apache/tomee/microprofile/jwt/itest/Output.java => itest-common/src/main/java/org/apache/tomee/itest/common/Logging.java} (54%)
copy itests/microprofile-jwt-itests/src/test/java/org/apache/tomee/microprofile/jwt/itest/keys/http/{HttpKeyRotationHttp500Test.java => HttpKeyAccessTimeoutTest.java} (69%)
copy mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/{bval/ValidationConstraintException.java => keys/DecryptKeys.java} (56%)
copy arquillian/arquillian-tomee-embedded/src/test/java/org/apache/openejb/arquillian/embedded/AnApp.java => mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/keys/FixedKeys.java (66%)
create mode 100644 mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/keys/HttpLocation.java
rename mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/{config => keys}/KeyResolver.java (92%)
create mode 100644 mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/keys/PublicKeys.java
create mode 100644 mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/keys/UrlLocation.java