Compare commits

..

3 commits

Author SHA1 Message Date
Jakobus Schürz
503c3ae966 delete target dir from git 2024-02-18 20:38:27 +01:00
Jakobus Schürz
e325cca766 add gitignore 2024-02-18 20:38:19 +01:00
Jakobus Schürz
4cfa75265e small fixes, because it did not compile here 2024-02-18 12:26:25 +01:00
7 changed files with 7 additions and 4 deletions

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
target/
.idea/

View file

@ -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.

View file

@ -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

View file

@ -1 +1,2 @@
at/schuerz/keycloak/authenticator/RegistrationMosparo$1.class
at/schuerz/keycloak/authenticator/RegistrationMosparo.class

View file

@ -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