Improvement #2043
Support username and password in z2UnitTestRunner and secure z2Unit Servlet.
Start date:
22.10.2019
Due date:
% Done:
0%
Estimated time:
origin:
Description
Acceptance Criterias¶
- There is additional annotation params:
- userName (defaults to "z*")
- password (defaults to "z")
and support similarly corresponding configuration in z2unit.properties
- z2unit.userName
- z2unit.password
- The /z2unit Web app demands the tester role and add that to the default configuration in environment/webUser.
- The realm file in environment/webUser is JEXL processed.
Related issues
Updated by Henning Blohm over 3 years ago
- Related to Improvement #2036: Upgrade z2 unit support to JUnit Jupiter added
Updated by Henning Blohm about 3 years ago
- Status changed from Feedback to Resolved
Documented in How to Unit Test in Z2 and How to Secure a Z2 Installation.