Repository navigation
We have just released version 6.1.1 of the UnboundID SCIM 2 SDK. It is available for download from GitHub and the Maven Central Repository. This release includes the following changes:
-
Added a new
Filter.getLeafComponents()method to simplify filter analysis when dealing with complicated filter trees. This method returns all subordinate leaf filters in a flat list so that callers can avoid writing recursive tree traversal for simple tasks. The filter may not have more than 1000 layers of nesting by default, which is configurable with thecom.unboundid.scim2.common.filters.Filter.MAX_TRAVERSAL_DEPTHsystem property. -
Changed behavior when deserializing
EnterpriseUserExtensionJSON objects where themanagerfield is set to a string instead of an appropriate complex object. This expands compatibility for SCIM services that return an invalid JSON, which can be challenging to resolve since this is a schema extension. Now, the following two JSON objects will be treated equivalently. In both cases, the string will be set to themanager.valuefield, even though the second JSON object does not use the correct complex syntax that is enforced by the SCIM standard.{ "manager": { "value": "fa1afe1" } } { "manager": "fa1afe1" } -
Fixed an issue where the
JacksonExceptionMapperwould print location data when it was unavailable ("at line: -1, column: -1"). As part of this update, the exception message for GenericScimResource deserialization errors was changed to provide more information (e.g., "Unexpected character"). -
Corrected some filter subclass nullability annotations to eliminate warnings for null-free code such as
filter instanceof NotFilter notFilter && notFilter.getInvertedFilter().equals(...). These were permissible before, but nullability warnings should no longer appear for IDEs configured to use the SCIM SDK's nullability annotations. -
When creating a remove patch operation with a
value, paths other than "members" continue to throw aBadRequestException. Starting in this release, this exception object will now include ascimTypeof "invalidSyntax".