@@ -0,0 +1,1226 @@
+package fr.insee.pogues.webservice.rest;%0A%0Aimport javax.ws.rs.GET;%0Aimport javax.ws.rs.Path;%0Aimport javax.ws.rs.Produces;%0Aimport javax.ws.rs.core.MediaType;%0Aimport javax.ws.rs.core.Response;%0A%0Aimport org.apache.http.HttpStatus;%0Aimport org.apache.logging.log4j.LogManager;%0Aimport org.apache.logging.log4j.Logger;%0Aimport org.json.simple.JSONObject;%0Aimport org.springframework.beans.factory.annotation.Value;%0Aimport org.springframework.stereotype.Component;%0A%0Aimport io.swagger.v3.oas.annotations.Operation;%0Aimport io.swagger.v3.oas.annotations.tags.Tag;%0A%0A@Component%0A@Path(%22/%22)%0A@Tag(name = %22Pogues Public Resources%22)%0Apublic class PublicResources %7B%0A%09%0A%09final static Logger logger = LogManager.getLogger(PublicResources.class);%0A%09%0A%09@Value(%22$%7Bfr.insee.pogues.authentication%7D%22)%0A    String authentificationType;%0A%09%0A%09@GET%0A%09@Path(%22/init%22)%0A%09@Produces(MediaType.APPLICATION_JSON)%0A%09@Operation(operationId = %22getInit%22, summary = %22Initial properties%22)%0A%09public Response getProperties() throws Exception %7B%0A%09%09JSONObject props = new JSONObject();%0A%09%09try %7B%0A%09%09%09props.put(%22authType%22, authentificationType);%0A%09%09%7D catch (Exception e) %7B%0A%09%09%09logger.error(e.getMessage(), e);%0A%09%09%7D%0A%09%09return Response.status(HttpStatus.SC_OK).entity(props.toString()).build();%0A%09%7D%0A%0A%7D%0A

Add an init endpoint returning the type of identification required on the back