Skip to content

Best practices

Pascal Knüppel edited this page May 4, 2021 · 2 revisions

I was taking a look at some of the forks from the SCIM-SDK project in order to get some inspiration for improvements and I noticed that several of these forks would not have been necessary since the solution could be achieved in another way.

Override schemas

You can define your own SCIM-schemas and register them together with resource types that are definitions of SCIM-endpoints. If you seek to add some adjustments to the User-schema or maybe the UserEnterprise-schema do not make changes on this project! You can simply copy the original schemata make any changes you desire and register them with an appropriate ResourceHandler implementation. The ResourceHandler implementation must use a type the extends ResourceNode and therefore you can also simply copy the User-class make adjustments to your liking and use this new ResourceNode implementation within your ResourceHandler. There is no need to make changes to this project if you want to register a customized User`-endpoint.