tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From radcor...@apache.org
Subject [tomee] branch master updated (582a9c3 -> 8bf7c0c)
Date Fri, 04 Jan 2019 11:59:58 GMT
This is an automated email from the ASF dual-hosted git repository.

radcortez pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/tomee.git.


    from 582a9c3  closes apache/tomee#327 *Merged*
     new 0361444  created REST service.
     new 14ad55d  TOMEE-2332: example for JWKs usage in MicroProfile JWT with TomEE
     new 7087421  TOMEE-2334: improvement of code based on comments from @jeanouii
     new e4e6ff7  Fixed examples pom.
     new 94d362d  Added mp-rest-jwt-jwk sample to project modules.
     new 8bf7c0c  closes apache/tomee#342 *Merged*

The 6 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:
 examples/mp-rest-jwt-jwk/README.adoc               |  77 +++++++++++++++
 .../pom.xml                                        |  37 ++++---
 .../main/java/org/superbiz}/entity/Product.java    |  12 +--
 .../main/java/org/superbiz/rest/ProductRest.java   |  89 +++++++++++++++++
 .../java/org/superbiz}/rest/RestApplication.java   |   3 +-
 .../java/org/superbiz/service/ProductService.java} |  48 +++++----
 .../META-INF/microprofile-config.properties        |   2 +
 .../mp-rest-jwt-jwk/src/main/resources/jwks.json   |  28 ++++++
 .../java/org/superbiz/rest/KeyGeneratorUtil.java}  |  25 ++++-
 .../java/org/superbiz/rest/ProductRestClient.java} |  33 +++----
 .../test/java/org/superbiz/rest/ProductsTest.java  | 110 +++++++++++++++++++++
 .../test/java/org/superbiz/rest}/TokenUtils.java   |   9 +-
 .../META-INF/microprofile-config.properties        |   3 +
 .../src/test/resources/arquillian.xml              |  29 +++---
 .../src/test/resources/jwt-alice.json              |  10 ++
 .../src/test/resources/jwt-john.json               |  10 ++
 .../src/test/resources/privateKey002.pem           |  24 +++++
 .../src/test/resources/privateKey004.pem           |  24 +++++
 examples/pom.xml                                   |   5 +-
 19 files changed, 484 insertions(+), 94 deletions(-)
 create mode 100644 examples/mp-rest-jwt-jwk/README.adoc
 copy examples/{mp-rest-jwt-principal => mp-rest-jwt-jwk}/pom.xml (87%)
 copy examples/{mp-rest-jwt-principal/src/main/java/org/superbiz/store => mp-rest-jwt-jwk/src/main/java/org/superbiz}/entity/Product.java
(84%)
 create mode 100644 examples/mp-rest-jwt-jwk/src/main/java/org/superbiz/rest/ProductRest.java
 copy examples/{mp-rest-jwt-principal/src/main/java/org/superbiz/store => mp-rest-jwt-jwk/src/main/java/org/superbiz}/rest/RestApplication.java
(96%)
 copy examples/{mp-rest-client/src/main/java/org/superbiz/rest/BookBean.java => mp-rest-jwt-jwk/src/main/java/org/superbiz/service/ProductService.java}
(56%)
 create mode 100644 examples/mp-rest-jwt-jwk/src/main/resources/META-INF/microprofile-config.properties
 create mode 100644 examples/mp-rest-jwt-jwk/src/main/resources/jwks.json
 copy examples/{mp-rest-jwt-principal/src/test/java/org/superbiz/store/GenerateKeyUtils.java
=> mp-rest-jwt-jwk/src/test/java/org/superbiz/rest/KeyGeneratorUtil.java} (69%)
 copy examples/{mp-rest-jwt-principal/src/test/java/org/superbiz/store/OrderRestClient.java
=> mp-rest-jwt-jwk/src/test/java/org/superbiz/rest/ProductRestClient.java} (60%)
 create mode 100644 examples/mp-rest-jwt-jwk/src/test/java/org/superbiz/rest/ProductsTest.java
 copy examples/{mp-rest-jwt-principal/src/test/java/org/superbiz/store => mp-rest-jwt-jwk/src/test/java/org/superbiz/rest}/TokenUtils.java
(92%)
 create mode 100644 examples/mp-rest-jwt-jwk/src/test/resources/META-INF/microprofile-config.properties
 copy examples/{mp-rest-client => mp-rest-jwt-jwk}/src/test/resources/arquillian.xml (63%)
 mode change 100755 => 100644
 create mode 100644 examples/mp-rest-jwt-jwk/src/test/resources/jwt-alice.json
 create mode 100644 examples/mp-rest-jwt-jwk/src/test/resources/jwt-john.json
 create mode 100644 examples/mp-rest-jwt-jwk/src/test/resources/privateKey002.pem
 create mode 100644 examples/mp-rest-jwt-jwk/src/test/resources/privateKey004.pem


Mime
View raw message