Skip to content

Commit

Permalink
Add exception handler for SCIM
Browse files Browse the repository at this point in the history
process DB issues into 422
  • Loading branch information
strehle committed Sep 8, 2024
1 parent 4c05f30 commit e0bc810
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions uaa/src/main/webapp/WEB-INF/spring/scim-endpoints.xml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@
<entry key="org.cloudfoundry.identity.uaa.scim.exception.ScimResourceAlreadyExistsException" value="CONFLICT"/>
<entry key="org.cloudfoundry.identity.uaa.scim.exception.ScimResourceConflictException" value="CONFLICT"/>
<entry key="org.springframework.jdbc.BadSqlGrammarException" value="BAD_REQUEST"/>
<entry key="org.springframework.dao.DataAccessException" value="UNPROCESSABLE_ENTITY"/>
</util:map>

<http name="groupEndpointSecurity" pattern="/Groups/**" create-session="stateless"
Expand Down

0 comments on commit e0bc810

Please sign in to comment.