Restored getMetaOwner
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@152733 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
fbeef4d7db
commit
c8fb8a32b5
|
@ -313,8 +313,6 @@ public class GeonetworkResolver extends HttpServlet{
|
||||||
logger.info(GeonetworkRequestFilterParameters.VISIBILITY.class.getSimpleName() +" is: "+theVisibility);
|
logger.info(GeonetworkRequestFilterParameters.VISIBILITY.class.getSimpleName() +" is: "+theVisibility);
|
||||||
logger.info(GeonetworkRequestFilterParameters.OWNER_PARAM +" is: "+theOwner);
|
logger.info(GeonetworkRequestFilterParameters.OWNER_PARAM +" is: "+theOwner);
|
||||||
|
|
||||||
//return;
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
||||||
GeonetworkServiceInterface gntwAccess = new GeonetworkAccessParameter(scope);
|
GeonetworkServiceInterface gntwAccess = new GeonetworkAccessParameter(scope);
|
||||||
|
@ -390,7 +388,6 @@ public class GeonetworkResolver extends HttpServlet{
|
||||||
}else
|
}else
|
||||||
logger.info("Skipping authentication, ckan user (the owner) is null");
|
logger.info("Skipping authentication, ckan user (the owner) is null");
|
||||||
|
|
||||||
|
|
||||||
//PUBLIC LAYERS
|
//PUBLIC LAYERS
|
||||||
}else{
|
}else{
|
||||||
logger.debug("Visibility: "+VISIBILITY.PUB+" getting public layers..");
|
logger.debug("Visibility: "+VISIBILITY.PUB+" getting public layers..");
|
||||||
|
@ -435,7 +432,7 @@ public class GeonetworkResolver extends HttpServlet{
|
||||||
logger.info("Private VISIBILITY performing so getting public file identifiers to apply filtering..");
|
logger.info("Private VISIBILITY performing so getting public file identifiers to apply filtering..");
|
||||||
FilterGetRecords filterGetRecords = new FilterGetRecords(byteArray.toString());
|
FilterGetRecords filterGetRecords = new FilterGetRecords(byteArray.toString());
|
||||||
if(filterGetRecords.getFoundPublicIds()!=null && filterGetRecords.getFoundPublicIds().size()>0){
|
if(filterGetRecords.getFoundPublicIds()!=null && filterGetRecords.getFoundPublicIds().size()>0){
|
||||||
logger.info("I'm removing list of public IDs with "+filterGetRecords.getFoundPublicIds() +" IDs. Is it right?");
|
logger.info("I'm removing list of public IDs with "+filterGetRecords.getFoundPublicIds().size() +" item/s. Is it right?");
|
||||||
in = GetResponseRecordFilter.overrideResponseIdsByListIds(reus, filterGetRecords.getFoundPublicIds(), "Replaced a public UUID, please ignore");
|
in = GetResponseRecordFilter.overrideResponseIdsByListIds(reus, filterGetRecords.getFoundPublicIds(), "Replaced a public UUID, please ignore");
|
||||||
}
|
}
|
||||||
}else {
|
}else {
|
||||||
|
|
Loading…
Reference in New Issue