[keycloak-user] Realm.toRepresentation results in com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException

Andreas Lau totheocean0402 at gmail.com
Thu Dec 27 06:40:42 EST 2018


Sorry for bouncing this up again. But I'm a bit stuck Ed on the problem.
Can anyone help me out? Is this the right list for this?

Thanks

Am Mi., 19. Dez. 2018, 18:04 hat Frank Franz <totheocean0402 at gmail.com>
geschrieben:

> Hello,
> I'm using the java admin client to create a realm and some other setting.
> In this process I like to update the realm (set authentication bindings for
> registration flow and credential flow) therefore I from my actual knowledge
> have to transfer the realm to the realm representation.
>
> Doing this calling realm.toRepresentation() results in the following
> error:
> javax.ws.rs.client.ResponseProcessingException: javax.ws.rs.
> ProcessingException: com.fasterxml.jackson.databind.exc.
> UnrecognizedPropertyException: Unrecognized field "
> offlineSessionMaxLifespanEnabled" (class org.keycloak.representations.idm.
> RealmRepresentation), not marked as ignorable (101 known properties: "
> directGrantFlow", "otpPolicyDigits", "identityProviderMappers", "
> revokeRefreshToken", "identityProviders", "userFederationMappers", "
> rememberMe", "duplicateEmailsAllowed", "dockerAuthenticationFlow", "
> otpSupportedApplications", "adminEventsDetailsEnabled", "registrationFlow",
> "editUsernameAllowed", "clients", "users", "emailTheme", "realm", "
> actionTokenGeneratedByAdminLifespan", "authenticatorConfig",
> "components", "certificate", "updateProfileOnInitialSocialLogin", "
> otpPolicyType", "accessCodeLifespanUserAction", "protocolMappers", "id", "
> accountTheme", "maxDeltaTimeSeconds", "enabledEventTypes", "verifyEmail",
> "applications", "waitIncrementSeconds", "eventsListeners", "
> eventsExpiration", "defaultDefaultClientScopes", "
> defaultOptionalClientScopes", "passwordPolicy", "clientTemplates", "
> registrationAllowed", "userManagedAccessAllowed", "notBefore", "
> otpPolicyAlgorithm", "actionTokenGeneratedByUserLifespan", "
> permanentLockout", "socialProviders", "otpPolicyInitialCounter"
> [truncated]])
>
> Can you pleas give me a hint how to resolve this?
> Thanks in advance.
> Andreas
>


More information about the keycloak-user mailing list