Portal Context
From Gcube Wiki
Revision as of 11:46, 3 May 2016 by Costantino.perciante (Talk | contribs) (Created page with "=== Introduction === The gCube Portal Manager is a component all portlets need to use to get the context where they are running into. Moreover, passing an HttpServletRequest o...")
Introduction
The gCube Portal Manager is a component all portlets need to use to get the context where they are running into. Moreover, passing an HttpServletRequest object to its methods, you can also:
- retrieve the list of Virtual Organizations available on a given portal;
- retrieve the configured senders of emails sent by the portal;
- retrieve the gateway of the portal.
Maven Dependency
In order to use it in your project, add the following dependency to the project's pom.xml file
<dependency> <groupId>org.gcube.common.portal</groupId> <artifactId>portal-manager</artifactId> <scope>provided</scope> </dependency>