Hi Enrico!

When using Spring Rest Controllers and JAX-RS (Jakarta Web Services)
endpoints in the same project set the `spring.jersey.application-path`
property:
https://docs.spring.io/spring-boot/docs/current/reference/html/application-properties.html#application-properties.web.spring.jersey.application-path

For example if you want to respond to request from: scim.example.com/v2/*
and your Spring Rest Controllers at the root, set

```properties
spring.jersey.application-path = /v2
```

NOTE: this will be appended to the value of `server.servlet.context-path`,
so if you set this value to `/foo` and `spring.jersey.application-path` to
`/v2` your base SCIM URL would be `scim.example.com/foo/v2`


Hopefully this helps!
(And let us know if you think this should be added to the SCIMple Spring
sample)



On Thu, Sep 21, 2023 at 11:45 AM Enrico Molino <[email protected]>
wrote:

> Hello,
> I am trying to use SCIMple in a SpringBoot project; it works, however
> the pre-existing Spring Rest Controllers don't work anymore after
> importing scim-spring-boot-starter, because SCIMple respond to all url
> patterns of the web application (with a 404 not found). Any idea how
> to fix this?
> Thanks.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to