user-utils endpoint: Incorrect required fields

Steps to reproduce

Have a look at the user-utils endpoint docs (POST method):
http://octestallinone.virtuos.uos.de:8080/docs.html?path=/user-utils

Problem:

It states that only username and password are required. If you pass
only these two data fields you will get an 200 but Opencast
internally will cry out with a NullPointerException.

If you want to try it:

curl -i -f --digest -u opencast_system_account:CHANGE_ME \
-H "X-Requested-Auth: Digest"
http://octestallinone.virtuos.uos.de:8080/user-utils/ -F
username=123 -F password=b

This is obviously a bug

Status

Assignee

Lars Kiesow

Reporter

Lars Kiesow

Severity

Incorrectly Functioning With Workaround

Tags (folksonomy)

None

Components

Fix versions

Affects versions

2.1.0
2.0.1

Priority

Critical
Configure