-
Notifications
You must be signed in to change notification settings - Fork 626
Closed
Description
Following the guideline of feature test strategy, create a new test class that covers the following cases:
- Test log file output for in-memory store usage warning
- Test authentication with plain text password
- Test authentication with XOR encoded password
- Test authentication with Hash encoded password
- Test authentication with AES encoded password
- Negative test: Try to authenticate with incorrect password
- Negative test: User with valid password but insufficient groups
- Negative test: User with badly encoded password
- Test that no unexpected error messages appear during normal operation
Test class name: InMemoryIdentityStoreTests
Implementation
- Create an Application with a Servlet with a protected REST API (protected by roles "caller" and "user", for example, and map that to named groups - such as "caller" and "user").
- In the same application, create main class which has an @InMemoryIdentityStoreDefinition definition including multiple credential data - callers, passwords and (optional) groups
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels