Compare commits
3 commits
Author | SHA1 | Date | |
---|---|---|---|
|
503c3ae966 | ||
|
e325cca766 | ||
|
4cfa75265e |
7 changed files with 7 additions and 4 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
target/
|
||||
.idea/
|
|
@ -159,7 +159,7 @@ public class RegistrationMosparo implements FormAction, FormActionFactory {
|
|||
}
|
||||
|
||||
private String getMosparoHostname(AuthenticatorConfigModel config) {
|
||||
return config.getConfig().get(MOSPARO_HOST);
|
||||
return "https://" + config.getConfig().get(MOSPARO_HOST);
|
||||
}
|
||||
|
||||
protected boolean verifyFormData(ValidationContext context, MultivaluedMap<String, String> formData) throws NoSuchAlgorithmException, IOException, InvalidKeyException {
|
||||
|
@ -184,7 +184,7 @@ public class RegistrationMosparo implements FormAction, FormActionFactory {
|
|||
continue;
|
||||
}
|
||||
|
||||
String value = entry.getValue().getFirst();
|
||||
String value = entry.getValue().get(0);
|
||||
preparedFormData.put(entry.getKey(), value.replace("\r\n", "\n"));
|
||||
}
|
||||
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Wed Feb 14 17:24:18 CET 2024
|
||||
#Sun Feb 18 12:23:20 CET 2024
|
||||
groupId=at.schuerz
|
||||
artifactId=keycloak-mosparo
|
||||
version=1.0.1
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
at/schuerz/keycloak/authenticator/RegistrationMosparo$1.class
|
||||
at/schuerz/keycloak/authenticator/RegistrationMosparo.class
|
||||
|
|
|
@ -1 +1 @@
|
|||
/home/jakobus.schuerz/git/keycloak-hcaptcha/src/main/java/at/schuerz.keycloak/authenticator/RegistrationMosparo.java
|
||||
/home/jakobus.schuerz/git/keycloak-mosparo/src/main/java/at/schuerz.keycloak/authenticator/RegistrationMosparo.java
|
||||
|
|
Loading…
Reference in a new issue