Features server
- Added a post-construct method to class
ResourceHandler
that can be used to customize the initialization of the resource handlers. - Added a new method to class
ResourceHandler
that allows to identify theResourceType
based on the ref-attribute of a resource - resource IDs in URLs will now be URL-encoded/decoded
- Added a new method to class
ScimResponse
to generate ajakarta.ws.rs.core.Response
object - Added a new configuration attribute on class
ResourceType
. It is now possible to change the behaviour of the roles-attribute.- Default behaviour: all roles for an endpoint must be present for a user in order to access the endpoint. So lets say you configured the roles
user
andcreate
on a resource-type to access the create-endpoint. The user must possess both roles to be able to access this endpoint - Adjusted behaviour: If the
useOrOnRoles
-attribute is set on theResourceType
the user must only possess one of the configured roles.
- Default behaviour: all roles for an endpoint must be present for a user in order to access the endpoint. So lets say you configured the roles
- Added a new convenience method to access the original request-body from the
Context
object withinResourceHandlers
. This was done with the thought in mind that a delete request might have a request-body.
Breaking Changes
- The
get
andlist
endpoints have been separated for role-adjustments. So if you have set roles for a get-endpoint on a specific resource-type thelist
-endpoint will not be affected by it anymore. It must be set explicitly. - Custom attributes not defined by the SCIM specification on the
Schemas
resource will not be returned anymore by default from the/Schemas
endpoint. This includes attributes likeminItems, pattern, minValue
etc. Only the attributes from the SCIM spec will be returned by default.
Bug Fixes server
- A bug was fixed that caused modification of the location-attribute within the meta-attribute. This will now only happen if you did not set this attribute manually.
- Fixed a bug that caused multivalued-complex attributes to be removed from the response on create/update requests if the mutability was set to
request
Difference between 1.17.0 and 1.17.1
I simply forgot to update third party dependencies. So the release 1.17.1 is with the latest updates of third party libraries.