Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SchemaDefinition for ResourceType resource uses wrong schema uri #167

Open
MelinaGirl opened this issue Nov 2, 2018 · 0 comments
Open

Comments

@MelinaGirl
Copy link

Description:
The schema definition for the resource type (SCIMSchemaDefinitions.SCIM_RESOURCE_TYPE_SCHEMA) gets the wrong schemas attribute on creation. According to the specification rfc7643 section 6 the resource type resource should be identified by the schema uri "urn:ietf:params:scim:schemas:core:2.0:ResourceType". This value is saved as SCIMConstants.RESOURCE_TYPE_SCHEMA_URI, but used in the SchemaDefinition is LISTED_RESOURCE_CORE_SCHEMA_URI.

Suggested Labels:
Bug

Affected Product Version:
3.0.30

Steps to reproduce:

SCIMResourceTypeSchema resourceSchema = SCIMResourceSchemaManager
                                                                                                 .getInstance()
                                                                                                 .getResourceTypeResourceSchema();
System.out.println(resourceSchema.getSchemasList().get(0));

Should print out:
urn:ietf:params:scim:schemas:core:2.0:ResourceType
But instead prints out:
urn:ietf:params:scim:api:messages:2.0:ListResponse

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant