added log

This commit is contained in:
Francesco Mangiacrapa 2024-04-24 15:20:36 +02:00
parent 9e49f6f281
commit 1f5db2eb16
2 changed files with 4 additions and 1 deletions

View File

@ -7,6 +7,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
## [v3.7.0-SNAPSHOT]
- Provided the "Export as PDF" facility [#26026]
- Integrated the GeoportalExporter as service [#27321]
## [v3.6.0]

View File

@ -18,6 +18,7 @@ import org.apache.commons.io.IOUtils;
import org.apache.http.client.methods.HttpGet;
import org.gcube.portlets.user.geoportaldataviewer.client.GeoportalDataViewerConstants;
import org.gcube.portlets.user.geoportaldataviewer.server.mongoservice.GeoportalServiceIdentityProxy;
import org.gcube.portlets.user.geoportaldataviewer.server.util.SessionUtil;
import org.gcube.portlets.user.uriresolvermanager.geoportal.GeoportalExporterAPI;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@ -62,7 +63,8 @@ public class GeoportalExporterActionServlet extends HttpServlet {
logger.info("doGet called with Input Params [projectID: " + projectID + ", ucdID: " + ucdID + "]");
try {
String scope = SessionUtil.getCurrentContext(req, true);
logger.info("the scope is: "+scope);
GeoportalServiceIdentityProxy identity = new GeoportalServiceIdentityProxy(req);
String theToken = identity.getToken();
String theIdentity = identity.getIdentity();