sigrennesmetropole / geor_signalement

Module signalement pour geOrchestra
0 stars 1 forks source link

Error 404 #28

Open jusabatier opened 1 year ago

jusabatier commented 1 year ago

I succed to deploy the backend in a tomcat, but when trying to access the admin panel, I get a 404.

I use this URL : https://geoportail.lepuyenvelay.fr/signalement/

The request appear in the tomcat's logs :

[2022-12-01 12:21:05] [info] 2022-12-01 12:21:05.348 INFO 943 --- [nio-8380-exec-2] o.g.s.a.s.PreAuthenticationFilter : Populated SecurityContextHolder with pre-auth token: 'org.georchestra.signalement.api.security.PreAuthenticationToken@352a0ae8: Principal: julien.sabatier; Credentials: [PROTECTED]; Authenticated: true; Details: class User { [2022-12-01 12:21:05] [info] login: julien.sabatier [2022-12-01 12:21:05] [info] firstName: Julien [2022-12-01 12:21:05] [info] lastName: Sabatier [2022-12-01 12:21:05] [info] email: julien.sabatier@lepuyenvelay.fr [2022-12-01 12:21:05] [info] organization: Communauté d'Agglomération du Puy-en-Velay [2022-12-01 12:21:05] [info] roles: [ROLE_MAPSTORE_ADMIN, ROLE_TERRASSES_MANAGER, ROLE_SERVICE_SIG, ROLE_CADASTRAPP_CNIL2, ROLE_ADMINISTRATOR, ROLE_GN_ADMIN, ROLE_SUPERUSER, ROLE_OPENADS_SOAP, ROLE_EDITION_CTD, ROLE_USER, ROLE_OPENADS, ROLE_EXTRACTORAPP, ROLE_POSTGRESQL_ADMINISTRATOR] [2022-12-01 12:21:05] [info] }; Granted Authorities: ROLE_MAPSTORE_ADMIN, ROLE_TERRASSES_MANAGER, ROLE_SERVICE_SIG, ROLE_CADASTRAPP_CNIL2, ROLE_ADMINISTRATOR, ROLE_GN_ADMIN, ROLE_SUPERUSER, ROLE_OPENADS_SOAP, ROLE_EDITION_CTD, ROLE_USER, ROLE_OPENADS, ROLE_EXTRACTORAPP, ROLE_POSTGRESQL_ADMINISTRATOR'

Here is my signalement.properties role's config :

spring.security.user.roles=USER georchestra.role.administrator=ROLE_ADMINISTRATOR

What am I doing wrong ?

ThomasBruleOpen commented 1 year ago

Hi,

Sorry for answering your issue very long time after you write it ... Do you still have the issue ?

If yes, it's difficult to answer as it, but : Are the Security Proxy roads right configured ? Is the Signalement Plateform right started ? No error ?

jusabatier commented 1 year ago

Hi, no problem.

I finally found that there is an angular frontend generated that I need to upload to a webserver. This frontend will interact with the API.

But I can't go further because the is no documentation or guide on how to configure or use this addon...

So I forgive the idea to use it.