Skip to content

Commit

Permalink
Update Pac4j to 6.0.0 (#14)
Browse files Browse the repository at this point in the history
* Update for Pac4j 6.0.0

* Bump version, update readme

* Validate credentials

* Update Java version for CI
  • Loading branch information
rnett authored Dec 19, 2023
1 parent 6737d97 commit d8a2f89
Show file tree
Hide file tree
Showing 6 changed files with 142 additions and 107 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Java CI

env:
JDK_CURRENT: 11.0.10
JDK_CURRENT: 17.0.9+8
DISTRIBUTION: zulu

on:
Expand Down
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@

This org.pac4j:ratpack-pac4j library is a mirror of the official Ratpack / pac4j module (io.ratpack:ratpack-pac4j) with newer versions of pac4j (as the Ratpack 1.x stream is stuck to pac4j v1.8.x).

Pac4j | Ratpack | New org.pac4j:ratpack-pac4j | Changes | Official io.ratpack:ratpack-pac4j
------|---------|------------------------|---------|----------------------------------
v1.8.x | v1.4.6 | v1.4.6 | No changes: both modules are identical | v1.4.6
v2.x (v2.1.0) | v1.5.0 | v2.0.0 | The method signatures have changed: `CommonProfile` replaces `UserProfile` and `HttpAction` replaces `RequiresHttpAction` | it doesn't exist
v3.x (v3.3.0) | v1.5.0 | v3.0.0 | Created a `RatpackSessionStore` and manually retrieved the `client_name`. | it doesn't exist
v5.x | v1.9.0 | v4.x | | it doesn't exist
| Pac4j | Ratpack | New org.pac4j:ratpack-pac4j | Changes | Official io.ratpack:ratpack-pac4j |
|---------------|---------|-----------------------------|---------------------------------------------------------------------------------------------------------------------------|-----------------------------------|
| v1.8.x | v1.4.6 | v1.4.6 | No changes: both modules are identical | v1.4.6 |
| v2.x (v2.1.0) | v1.5.0 | v2.0.0 | The method signatures have changed: `CommonProfile` replaces `UserProfile` and `HttpAction` replaces `RequiresHttpAction` | it doesn't exist |
| v3.x (v3.3.0) | v1.5.0 | v3.0.0 | Created a `RatpackSessionStore` and manually retrieved the `client_name`. | it doesn't exist |
| v5.x | v1.9.0 | v4.x | | it doesn't exist |
| v6.x | v1.9.0 | v5.x | | it doesn't exist |

See the [official documentation](https://ratpack.io/manual/1.9.0/pac4j.html#pac4j) and the [demo](https://github.com/pac4j/ratpack-pac4j-demo).
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<artifactId>ratpack-pac4j</artifactId>
<packaging>jar</packaging>
<name>pac4j implementation for Ratpack</name>
<version>4.0.1-SNAPSHOT</version>
<version>5.0.0-SNAPSHOT</version>
<description>Security library for Ratpck based on pac4j</description>
<url>https://github.com/pac4j/ratpack-pac4j</url>

Expand Down Expand Up @@ -66,8 +66,8 @@
</developers>

<properties>
<pac4j.version>5.1.4</pac4j.version>
<java.version>11</java.version>
<pac4j.version>6.0.0</pac4j.version>
<java.version>17</java.version>
<ratpack.version>1.9.0</ratpack.version>
</properties>

Expand Down
Loading

0 comments on commit d8a2f89

Please sign in to comment.