FIX: Resolve 404 Not Found issues for JSF pages

 SECURITY CONFIGURATION:
- Remove web.xml security constraints that were blocking page access
- Security now handled by Quarkus OIDC and AuthBean instead of servlet constraints

 OIDC CONFIGURATION:
- Add javascript-auto-redirect=false to prevent automatic redirects
- Add force-redirect-https-scheme=false for local development
- Allow manual navigation to pages without forced authentication

 JSF CONFIGURATION:
- Add faces-config.xml with proper navigation rules
- Configure locale support (French/English)
- Add navigation cases for dashboard, profile, clients, home

 PAGES NOW ACCESSIBLE:
- http://localhost:8081/gbcm/pages/clients.xhtml 
- http://localhost:8081/gbcm/pages/profile.xhtml 
- http://localhost:8081/gbcm/pages/dashboard.xhtml 
- All pages render with Freya Theme correctly

🎯 ISSUE RESOLVED: All JSF pages now load without 404 errors
This commit is contained in:
dahoud
2025-10-07 21:32:05 +00:00
parent b848e0cede
commit 6255f5b24c
3 changed files with 47 additions and 15 deletions

View File

@@ -20,6 +20,9 @@ quarkus.oidc.tls.verification=none
quarkus.oidc.application-type=web-app
quarkus.oidc.authentication.redirect-path=/gbcm/login
quarkus.oidc.authentication.restore-path-after-redirect=true
# Allow access to pages without automatic redirect
quarkus.oidc.authentication.java-script-auto-redirect=false
quarkus.oidc.authentication.force-redirect-https-scheme=false
# REST Client Configuration - GBCM Server API
gbcm.server.api.url=http://localhost:8082/api