- Add change password feature in UserService, allowing users to update their password after verifying the current one. - Introduce UpdateUserRequest model for updating user details, including username, password, and role. - Implement RESTful endpoints for changing passwords and updating user information in AuthResource and UsersResource. - Enhance OpenAPI specification to document new endpoints for password change and user updates. - Create frontend components for user management, including a dedicated UsersPage for admin users to manage user accounts. - Add unit tests for UserService to ensure correct behavior of password changes and user updates.
RolePlay
Minimal Quarkus (Java 21) project scaffold for the RolePlay service.
Structure
src/main/java/de/neitzel/roleplay: startup and base packagesrc/main/java/de/neitzel/roleplay/business: business logicsrc/main/java/de/neitzel/roleplay/common: shared utilitiessrc/main/java/de/neitzel/roleplay/data: data accesssrc/main/java/de/neitzel/roleplay/fascade: external facadessrc/main/resources/db/migration: Liquibase changelog location
Login
The app requires authentication. A default admin user is seeded on first run:
- Username:
admin - Password:
changeme
Change the password after first login (e.g. by creating a new admin user and retiring the default, or via a future password-change feature). Only users with the admin role can create new users (POST /api/v1/admin/users).
Build and test
mvn test
Description
Languages
Java
58.3%
TypeScript
30.9%
Mustache
10.6%
HTML
0.2%