I'm trying to add the EnterpriseUserExtension class as an extension to the standard UserResource class, and for the extension attributes to appear alongside the standard attributes in results of the /Schemas endpoint.
I have a Spring @Controller defined with the requiredSchemaExtensions, as below:
@ScimResource(description = "Access User Resources", name = "User", schema = UserResource.class, requiredSchemaExtensions = EnterpriseUserExtension.class)
However, the extension attributes are not returned from the /Schemas endpoint.
Looking at the code for SchemasController, it seems that if a coreSchema is defined, that is returned without the schemaExtensions. I have attempted to provide only requiredSchemaExtensions (which looks like it should work), however the @ScimResource requires the schema.
I'm trying to add the
EnterpriseUserExtensionclass as an extension to the standardUserResourceclass, and for the extension attributes to appear alongside the standard attributes in results of the /Schemas endpoint.I have a Spring
@Controllerdefined with the requiredSchemaExtensions, as below:However, the extension attributes are not returned from the /Schemas endpoint.
Looking at the code for SchemasController, it seems that if a coreSchema is defined, that is returned without the schemaExtensions. I have attempted to provide only requiredSchemaExtensions (which looks like it should work), however the
@ScimResourcerequires the schema.