From 045ee1a7d1d308f430bb08d72c41fc2bec73a0ff Mon Sep 17 00:00:00 2001 From: Massimiliano Assante Date: Wed, 21 Sep 2016 15:56:59 +0000 Subject: [PATCH] removed accesslogger dep git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/application-support-layer/applicationSupportLayerCore@131594 82a268e6-3cf1-43bd-a215-b396298e98cf --- pom.xml | 18 +++--------------- .../framework/core/session/ASLSession.java | 12 ++---------- src/main/resources/etc/layoutPortlets.xsl | 16 ---------------- 3 files changed, 5 insertions(+), 41 deletions(-) delete mode 100644 src/main/resources/etc/layoutPortlets.xsl diff --git a/pom.xml b/pom.xml index 31daa55..f9c58ec 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ org.gcube.applicationsupportlayer aslcore - 5.0.1-SNAPSHOT + 5.1.2-SNAPSHOT Application Support Layer Core Library supporting dissemination of gCube content with OAI-ORE @@ -24,7 +24,6 @@ distro - + org.gcube.common common-authorization - [2.0.0-SNAPSHOT, 3.0.0-SNAPSHOT) net.sf.ehcache ehcache-core - 2.5.2 - - org.gcube.applicationsupportlayer - accesslogger - [1.2.0-SNAPSHOT, 2.0.0-SNAPSHOT) - + org.slf4j slf4j-api - 1.6.4 compile @@ -74,9 +66,6 @@ org.gcube.resources registry-publisher - - [1.2.4-SNAPSHOT, 2.0.0-SNAPSHOT) - @@ -89,7 +78,6 @@ net.sf.kxml kxml2 - 2.3.0 diff --git a/src/main/java/org/gcube/application/framework/core/session/ASLSession.java b/src/main/java/org/gcube/application/framework/core/session/ASLSession.java index d462568..7366f1d 100644 --- a/src/main/java/org/gcube/application/framework/core/session/ASLSession.java +++ b/src/main/java/org/gcube/application/framework/core/session/ASLSession.java @@ -13,8 +13,6 @@ import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.ParserConfigurationException; -import org.gcube.application.framework.accesslogger.library.impl.AccessLogger; -import org.gcube.application.framework.accesslogger.model.LoginToVreAccessLogEntry; import org.gcube.application.framework.core.util.ASLGroupModel; import org.gcube.application.framework.core.util.GenderType; import org.gcube.application.framework.core.util.SessionConstants; @@ -63,9 +61,6 @@ public class ASLSession{ /** The logger. */ private static final Logger logger = LoggerFactory.getLogger(ASLSession.class); - // ACCESS LOGGER - AccessLogger accessLogger = AccessLogger.getAccessLogger(); - /** * A constructor based on the user and a HttpSession @@ -599,9 +594,7 @@ public class ASLSession{ logger.info("Logging the entrance"); //TODO: Should do something with the below line // innerSession.clear(); - // ACCESS LOGGER - LoginToVreAccessLogEntry loginEntry = new LoginToVreAccessLogEntry(); - accessLogger.logEntry(getUsername(), scope, loginEntry); + } else logger.debug("Passing the logging because the scope was the same"); initializeAttributes(); @@ -644,8 +637,7 @@ public class ASLSession{ //innerSession.clear(); loggedIn = true; // ACCESS LOGGER - LoginToVreAccessLogEntry loginEntry = new LoginToVreAccessLogEntry(); - accessLogger.logEntry(getUsername(), scope, loginEntry); + } /** diff --git a/src/main/resources/etc/layoutPortlets.xsl b/src/main/resources/etc/layoutPortlets.xsl deleted file mode 100644 index b2558b3..0000000 --- a/src/main/resources/etc/layoutPortlets.xsl +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - - - - - -