osiam / connector4java

Native Java API to connect to the REST based OSIAM services
MIT License
8 stars 17 forks source link

Ignore extensions in schemas without any data present #199

Closed tkrille closed 8 years ago

tkrille commented 8 years ago

The SCIM spec states [1]:

Each value in the "schemas" attribute indicates additive schema that MAY exist in a SCIM resource representation.

Hence, missing data should just be ignored instead of throwing an exception.

Also, refactor the test in UserDeserializerSpec to eventually get rid of the JsonFixturesHelper sometimes.

[1] https://tools.ietf.org/html/rfc7643#section-3.3

Fixes #197

wallner commented 8 years ago

thank you