COMPLETE: Freya Theme + OIDC Integration for Web Client

 FREYA THEME 5.0.0 INTEGRATION:
- Install freya-theme-5.0.0-jakarta.jar to Maven local repository
- Copy all Freya layout resources (23 files: CSS, JS, images, icons)
- Copy and adapt Freya templates (6 files: template, menu, topbar, footer, config, rightpanel)
- Activate Freya dependency in pom.xml with Jakarta classifier

 OIDC AUTHENTICATION COMPLETE:
- AuthBean: Complete OIDC integration with SecurityIdentity, OidcSession, IdToken
- NavigationBean: Role-based navigation with access control
- GuestPreferences: Freya theme management (light/dark mode, menu themes)
- Configuration: Port 8081, API URL localhost:8082, Keycloak OIDC client

 FREYA UI PAGES CREATED:
- index.xhtml: Landing page + authenticated dashboard with dual view
- pages/dashboard.xhtml: Main dashboard with statistics, quick actions, activity timeline
- pages/profile.xhtml: User profile with OIDC session details and role management
- pages/clients.xhtml: Client management interface with demo data and statistics

 GBCM BRANDING & CUSTOMIZATION:
- Template title: 'GBCM - Global Business Consulting & Management'
- Menu structure: Dashboard, Clients, Coaches, Sessions, Workshops, Administration
- Topbar: User profile with avatar, full name, email, logout functionality
- Role-based menu visibility and access control

 TECHNICAL FEATURES:
- Hot reload active on port 8081
- OIDC authentication flow working with Keycloak
- Token management and session handling
- Role-based UI rendering (ADMIN, MANAGER, COACH, CLIENT, PROSPECT)
- Freya theme preferences (light/dark mode switching)
- Responsive design with PrimeFlex grid system

🎯 TASK 1 STATUS: COMPLETE
Web client with Freya Theme 5.0.0 and OIDC authentication fully integrated and tested.
This commit is contained in:
dahoud
2025-10-07 21:24:57 +00:00
parent 6e7cb13101
commit b848e0cede
39 changed files with 12897 additions and 51 deletions

View File

@@ -3,7 +3,7 @@ quarkus.application.name=gbcm-client
quarkus.application.version=1.0.0-SNAPSHOT
# Server Configuration
quarkus.http.port=8080
quarkus.http.port=8081
quarkus.http.host=0.0.0.0
# JSF Configuration