spring-projects/spring-credhub

NullPointerException when adding permission.

Zee-Khan opened this issue · 1 comments

When POSTing to PERMISSIONS_URL_PATH = "/api/v1/permissions", no body is returned as it is a void function setAccessControlEntries

In the spring-credhub adapter, it attempts to get permissions from within the null body. addPermission

The v2 of this function does return a body of permissions, but this release is still using v1.

Fixed via #33