actually wouldn't it be johnzon that has changed its behaviour?
On 22/05/2019 17:19, Matthew Broadhead wrote:
i am using keycloak 4.5.0 for my security. when i post a
org.keycloak.representations.idm.UserRepresentation using cxf
webclient it works using 7.0.5 but not with 7.1.0
e.g.
userRepresentation.setEnabled(true);
userRepresentation.setEmailVerified(true);
Response response =
wc.type(MediaType.APPLICATION_JSON).post(userRepresentation);
it seems that the version of cxf in 7.0.5 successfully converts the
boolean fields to true, but the one in 7.1.0 doesn't
i can post to the cxf list but do you know what the version numbers are?
also it seems that keycloak have their getters and setters all messed
up, they are using a Boolean object but setting like a primitive e.g.
public Boolean isEnabled() {
return enabled;
}
public void setEnabled(Boolean enabled) {
this.enabled = enabled;
}