jaggaer-c-adepasca opened a new issue, #559: URL: https://github.com/apache/directory-scimple/issues/559
I'm trying scim-server-spring-boot example and everything is working fine. But i noticed that SCIMple library doesn't do any kind of validation on JSON request provided. For example If i create user using below JSON request naming userName__ field instead of userName (by standard User standard Schema the correct name to be userName) i get 201 created instead of 400 bad request. The same result if i remove userName field although it is mandatory. Why? Is there something I'm not configuring well or that needs to be implemented by me? Please let me know. { "schemas": [ "urn:ietf:params:scim:schemas:core:2.0:User", "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User" ], "externalId": "extId", "userName__": "username_1", "name": { "familyName": "XXX", "givenName": "YYY" }, "active": true, "emails": [ { "value": "email_3101_1...@gmail.com" } ], "addresses": [ { "country": "US" } ], "phoneNumbers": [ { "value": "+390833186005", "type": "work" }, { "value": "+32802213916", "type": "mobile", "primary": false } ], "timezone": "Europe/London", //"preferredLanguage": "ita", "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User": { "organization": "Buyer_guru", "division": "Division", "department": "" } } i get 201 created instead of 400 bad request. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org For additional commands, e-mail: dev-h...@directory.apache.org