mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Gaetan Boismal
08.20.2016 aeed3c534c0a52f3fbf525573715349fb187316a
refs
author Gaetan Boismal <gaetan.boismal@forgerock.com>
Wednesday, June 8, 2016 16:20 +0200
committer Gaetan Boismal <gaetan.boismal@forgerock.com>
Wednesday, June 8, 2016 17:18 +0200
commitaeed3c534c0a52f3fbf525573715349fb187316a
tree 5e0d38957b52085a66fc276af68dc807c4bc0dbe tree | zip | gz
parent 3b15a98cb11aa68f681fa7ba0dd793cb56ba02d9 view | diff
OPENDJ-3096 Fix incorrect response status code

In the case where rest2ldap were not able to resolve the authzIdTemplate with an access token we were returned a 403 (forbidden) error response.
As Matt pointed out, this is not a client application here so we now return a 500 (internal server error) with no error message.
2 files modified
6 ■■■■■ changed files
opendj-rest2ldap/src/main/java/org/forgerock/opendj/rest2ldap/authz/Authorizations.java 5 ●●●●● diff | view | raw | blame | history
opendj-rest2ldap/src/main/resources/org/forgerock/opendj/rest2ldap/rest2ldap.properties 1 ●●●● diff | view | raw | blame | history