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
This commit is contained in:
Massimiliano Assante 2016-09-21 15:56:59 +00:00
parent 15d687462e
commit 045ee1a7d1
3 changed files with 5 additions and 41 deletions

18
pom.xml
View File

@ -9,7 +9,7 @@
<groupId>org.gcube.applicationsupportlayer</groupId>
<artifactId>aslcore</artifactId>
<version>5.0.1-SNAPSHOT</version>
<version>5.1.2-SNAPSHOT</version>
<name>Application Support Layer Core</name>
<description>Library supporting dissemination of gCube content with OAI-ORE</description>
@ -24,7 +24,6 @@
<distroDirectory>distro</distroDirectory>
</properties>
<!--
<dependencyManagement>
<dependencies>
<dependency>
@ -36,31 +35,24 @@
</dependency>
</dependencies>
</dependencyManagement>
-->
<dependencies>
<dependency>
<groupId>org.gcube.common</groupId>
<artifactId>common-authorization</artifactId>
<version>[2.0.0-SNAPSHOT, 3.0.0-SNAPSHOT)</version>
</dependency>
<dependency>
<groupId>net.sf.ehcache</groupId>
<artifactId>ehcache-core</artifactId>
<version>2.5.2</version>
</dependency>
<dependency>
<groupId>org.gcube.applicationsupportlayer</groupId>
<artifactId>accesslogger</artifactId>
<version>[1.2.0-SNAPSHOT, 2.0.0-SNAPSHOT)</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.6.4</version>
<scope>compile</scope>
</dependency>
@ -74,9 +66,6 @@
<dependency>
<groupId>org.gcube.resources</groupId>
<artifactId>registry-publisher</artifactId>
<!-- <version>[2.0.0-SNAPSHOT, 3.0.0-SNAPSHOT)</version> -->
<version>[1.2.4-SNAPSHOT, 2.0.0-SNAPSHOT)</version>
<!-- changed from version 1.1.0-SNAPSHOT. If this change introduces problems, please revert -->
</dependency>
@ -89,7 +78,6 @@
<dependency>
<groupId>net.sf.kxml</groupId>
<artifactId>kxml2</artifactId>
<version>2.3.0</version>
</dependency>
<dependency>

View File

@ -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);
}
/**

View File

@ -1,16 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Very Simple XSL-T which transform the layout into a more readeble form -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:template match="/">
<xsl:apply-templates select="/"/>
</xsl:template>
<xsl:template match="/">
<root>
<xsl:for-each select="//portlet-class">
<portlet>
<xsl:value-of select="."/>
</portlet>
</xsl:for-each>
</root>
</xsl:template>
</xsl:stylesheet>