By: Marco Tiemann user 20 Jul 2016 at 9:32 a.m. CDT

5 Responses
Marco Tiemann gravatar
Hi there, we are getting the following root cause for a ScimInitializationException: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "pat_profiles_supported" (class org.xdi.oxauth.model.uma.UmaConfiguration), not marked as ignorable (23 known properties: "patProfilesSupported", "resourceSetRegistrationEndpoint", "claimTokenProfilesSupported", "scopeEndpoint", "rptProfilesSupported", "patGrantTypesSupported", "gatEndpoint", "version" [truncated]]) at [Source: org.jboss.resteasy.client.core.SelfExpandingBufferredInputStream@770fa442; line: 4, column: 31] (through reference chain: org.xdi.oxauth.model.uma.UmaConfiguration["pat_profiles_supported"]) com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:51) com.fasterxml.jackson.databind.DeserializationContext.reportUnknownProperty(DeserializationContext.java:731) com.fasterxml.jackson.databind.deser.std.StdDeserializer.handleUnknownProperty(StdDeserializer.java:915) com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownProperty(BeanDeserializerBase.java:1292) com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownVanilla(BeanDeserializerBase.java:1270) com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:247) com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:118) com.fasterxml.jackson.databind.ObjectReader._bind(ObjectReader.java:1232) com.fasterxml.jackson.databind.ObjectReader.readValue(ObjectReader.java:676) com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider.readFrom(JacksonJsonProvider.java:443) org.jboss.resteasy.core.interception.MessageBodyReaderContextImpl.proceed(MessageBodyReaderContextImpl.java:105) org.jboss.resteasy.plugins.interceptors.encoding.GZIPDecodingInterceptor.read(GZIPDecodingInterceptor.java:63) org.jboss.resteasy.core.interception.MessageBodyReaderContextImpl.proceed(MessageBodyReaderContextImpl.java:108) org.jboss.resteasy.client.core.BaseClientResponse.readFrom(BaseClientResponse.java:433) org.jboss.resteasy.client.core.BaseClientResponse.getEntity(BaseClientResponse.java:377) org.jboss.resteasy.client.core.BaseClientResponse.getEntity(BaseClientResponse.java:350) org.jboss.resteasy.client.core.extractors.BodyEntityExtractor.extractEntity(BodyEntityExtractor.java:62) org.jboss.resteasy.client.core.ClientInvoker.invoke(ClientInvoker.java:120) org.jboss.resteasy.client.core.ClientProxy.invoke(ClientProxy.java:88) com.sun.proxy.$Proxy382.getMetadataConfiguration(Unknown Source) gluu.scim.client.auth.UmaScimClientImpl.initUmaRpt(UmaScimClientImpl.java:117) gluu.scim.client.auth.UmaScimClientImpl.initUmaAuthentication(UmaScimClientImpl.java:91) gluu.scim.client.auth.UmaScimClientImpl.init(UmaScimClientImpl.java:74) gluu.scim.client.BaseScimClientImpl.retrievePerson(BaseScimClientImpl.java:82) gluu.scim.client.auth.UmaScimClientImpl.retrievePerson(UmaScimClientImpl.java:223) gluu.scim.client.ScimClient.retrievePerson(ScimClient.java:51) Is this a known issue or is there a commonly made error that could cause this?

By Valentino Pecaoco user 20 Jul 2016 at 9:47 a.m. CDT

Valentino Pecaoco gravatar
Hi Marco, Were you able to run the test code initially in the documentation? [https://gluu.org/docs/integrate/scimuma-howto/](https://gluu.org/docs/integrate/scimuma-howto/) If yes then `retrievePerson` should also be ok.

By Marco Tiemann user 20 Jul 2016 at 9:54 a.m. CDT

Marco Tiemann gravatar
Hi, I am looking at the example now. I get an exception that final ScimClient scimClient = ScimClient.umaInstance(domain, umaMetaDataUrl, umaAatClientId, umaAatClientJksPath, umaAatClientJksPassword, umaAatClientKeyId); should require five not six arguments: ScimClient.umaInstance(domain, umaMetaDataUrl, umaAatClientId, umaAatClientJwks, umaAatClientKeyId) Is the documentation outdated or something else wrong?

By Valentino Pecaoco user 20 Jul 2016 at 9:59 a.m. CDT

Valentino Pecaoco gravatar
Yes this is for CE / SCIM-Client v2.4.4. For v2.4.3, you may see the unit tests: [https://github.com/GluuFederation/SCIM-Client/tree/version_2.4.3/src/test/java/gluu](https://github.com/GluuFederation/SCIM-Client/tree/version_2.4.3/src/test/java/gluu)

By Marco Tiemann user 20 Jul 2016 at 11:24 a.m. CDT

Marco Tiemann gravatar
Hi again, Thank you for your quick responses. We believe that we have successfully resolved the issue now (not caused by Gluu but a clash of library versions). Thank you very much! Please feel free to close this ticket.

By Marco Tiemann user 20 Jul 2016 at 11:25 a.m. CDT

Marco Tiemann gravatar
Nevermind, I have seen that I can close it as well. Thank you again.