Fixed maven-portal-bom

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@95954 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-05-22 14:41:39 +00:00
parent 3e412be8d5
commit ce80eba892
3 changed files with 9 additions and 6 deletions

View File

@ -180,9 +180,10 @@
</dependency>
<!-- LOGGING -->
<dependency>
<dependency>
<groupId>com.allen-sauer.gwt.log</groupId>
<artifactId>gwt-log</artifactId>
<version>3.2.1</version>
</dependency>
<dependency>
@ -271,7 +272,7 @@
</resources>
</configuration>
</execution>
<execution>
<execution>
<id>copy-distro-resources</id>
<phase>process-resources</phase>
<goals>
@ -379,6 +380,7 @@
<dependency>
<groupId>org.gcube.distribution</groupId>
<artifactId>maven-portal-bom</artifactId>
<!-- <version>2.0.0-SNAPSHOT</version> -->
<version>LATEST</version>
<type>pom</type>
<scope>import</scope>

View File

@ -16,6 +16,7 @@ import org.gcube.data.analysis.tabulardata.service.tabular.TabularResource;
import org.gcube.portal.custom.scopemanager.scopehelper.ScopeHelper;
import org.gcube.portlets.user.td.gwtservice.server.file.FileUploadSession;
import org.gcube.portlets.user.td.gwtservice.server.trservice.TRTasksManager;
import org.gcube.portlets.user.td.gwtservice.shared.Constants;
import org.gcube.portlets.user.td.gwtservice.shared.csv.CSVExportSession;
import org.gcube.portlets.user.td.gwtservice.shared.csv.CSVImportSession;
import org.gcube.portlets.user.td.gwtservice.shared.exception.TDGWTSessionExpiredException;
@ -75,15 +76,15 @@ public class SessionUtil {
ASLSession session;
if (username == null) {
logger.warn("no user found in session, using test one");
throw new TDGWTSessionExpiredException("Session Expired!");
/*
/*throw new TDGWTSessionExpiredException("Session Expired!");*/
username = Constants.DEFAULT_USER;
String scope = Constants.DEFAULT_SCOPE;
httpSession.setAttribute(ScopeHelper.USERNAME_ATTRIBUTE, username);
session = SessionManager.getInstance().getASLSession(
httpSession.getId(), username);
session.setScope(scope);*/
session.setScope(scope);
} else {
session = SessionManager.getInstance().getASLSession(

View File

@ -58,6 +58,6 @@ public class Constants {
public static final String REQUEST_PROPERTIES_REFCOLUMN="RefColumn";
public static final String REQUEST_PROPERTIES_COLUMNID="ColumnId";
public static final String REQUEST_PROPERTIES_TASKID="TaskId";
}