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
Add salted SHA1 hashing support to Keycloak. ie. you're migrating to Keycloak and need to import legacy passwords stored as SHA-1 salted hashes.
3
3
4
4
## Requirements
5
-
6
5
- Java 11
7
6
- Maven 3.6
8
7
9
8
## Building
10
9
11
10
- Run `mvn package`
12
-
-It should generate a JAR archive under`./target/keycloak-sha1.jar`
11
+
- JAR archive is generated in`./target/keycloak-sha1.jar`
13
12
14
13
## Deploying to Keycloak
15
14
16
15
1. Move the built JAR file to Keycloak's directory `standalone/deployments/` (on Keycloak under Docker: `/opt/jboss/keycloak/standalone/deployments`)
17
16
2. Watch the `standalone/deployments/` for the file `keycloak-sha1.jar.deployed`
18
17
19
18
:warning: If you find instead the file `keycloak-sha1.jar.failed`, you can run the command `cat keycloak-sha1.jar.failed` to find out what went wrong with your deployment.
19
+
20
+
## How to use
21
+
Use algorithm `sha1-salted` when importing users through JSON. Below an example with
0 commit comments