Jump to content
We've recently updated our Privacy Statement, available here ×

bluefleeses

Members
  • Posts

    1
  • Joined

  • Last visited

bluefleeses's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Hi team, I have a situation whereby a user is externally defined through LDAP. however in the api documentation as shown below, there is a password that is provisioned during the modification of user. In the case of externallyDefine: true case. Does it requires a password to update the user to be updated via an api call? My scenario is that: During the initial creation User would have to first login to the jasper reports server, the jasper server would then create the profile account in the jasper server and mark it as externally defined, the user would have a default role as ROLE_USER. I would like to update the user roles via api call, however in the api guide book, the creation and modifying of user is using the same api call url and method. The example given below, the user modification has to be provision with the password as shown below: { "enabled":true, "password":"newPassword", "roles":[ {"name":"ROLE_USER"}, {"name":"ROLE_STOREMANAGER", "tenantId":"organization_1"}] } can i call the api without the password since it is externallyDefine as shown in the example below? { "enabled":true, "externallyDefined":true, "roles":[ {"name":"ROLE_USER, ROLE_ADMIN, ROLE_TEST_USER"}, {"name":"ROLE_STOREMANAGER", "tenantId":"organization_1"}] } Thank you.
×
×
  • Create New...