scim2 icon indicating copy to clipboard operation
scim2 copied to clipboard

Can Server `utils` be safely extracted to facilitate non-JAX-RS implementations

Open prkumar opened this issue 6 years ago • 0 comments

Hi! First of all, Thanks for this amazing library!

I'm looking to use this library to implement a SCIM service on top of an existing Spring application. A lot of the tooling in com.unboundid.scim2.server.utils package (i.e., ResourcePreparer, SchemaChecker, etc.) seem really useful for my effort. However, it seems that to leverage these utilities I need to add an unnecessary dependency on JAX-RS. So, is there any way we can separate these server utilities from this constraint?

Please correct me if I'm wrong, but it seems that ResourceTypeDefinition#fromJaxRsResource, which relies on javax.ws.rs.Path annotation, is the the sole blocker here, as many other server utilities import the class, either directly or indirectly. Could we resolve this by moving the factory to a separate utility class (e.g., ServerUtils)?

prkumar avatar Apr 16 '18 22:04 prkumar