You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Moved to EAR packaging strategy which allows third-party libraries, such as `de.mkammerer.argon2-jvm`, to be included in the package. This simplifies installation by not having to package a custom layer.
Copy file name to clipboardExpand all lines: README.md
+16-21Lines changed: 16 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,24 +1,27 @@
1
-
# Dependencies
2
-
This module depends on `de.mkammerer.argon2`, more can be found on the [GitHub Project](https://github.com/phxql/argon2-jvm).
1
+
# Introduction
2
+
This project introduces Argon2 Password Hashing for Keycloak, it uses `de.mkammerer.argon2` as the library, more can be found on the [GitHub Project](https://github.com/phxql/argon2-jvm).
3
3
4
-
## Dependency installation
5
-
Build the project once with `mvn install`, this will generate the `./target/jboss-modules/` directory, with two dependencies:
6
-
* de.mkammerer.argon2-jvm
7
-
* net.java.dev.jna
4
+
It generates an EAR which can be deployed using [Keycloak Deployer](https://www.keycloak.org/docs/latest/server_development/index.html#using-the-keycloak-deployer).
8
5
9
-
In your Keycloak installation, go to `./modules/` and modify the `layers.conf`:
6
+
# Build
7
+
Build the project using:
10
8
```
11
-
layers=keycloak,custom
9
+
mvn clean install;
12
10
```
13
11
14
-
And create the directory in `./modules/`:
12
+
This will build both the `jar-module` and `ear-module`:
15
13
```
16
-
mkdir -p ./modules/system/layers/custom;
14
+
[INFO] Reactor Summary for Argon2 Password Hash Provider 9.0.0:
Once the dependencies are in order, the provider can be deployed by the [Keycloak Deployer](https://www.keycloak.org/docs/latest/server_development/index.html#using-the-keycloak-deployer), e.g.:
0 commit comments