public class PortalUtils extends Object
| Constructor and Description |
|---|
PortalUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getCurrentContext(javax.servlet.http.HttpServletRequest request,
boolean setInThread)
Retrieve the current scope by using the portal manager.
|
static String |
getCurrentToken(javax.servlet.http.HttpServletRequest request,
boolean setInThread)
Retrieve the current token by using the portal manager.
|
static org.gcube.vomanagement.usermanagement.model.GCubeUser |
getCurrentUser(javax.servlet.http.HttpServletRequest request)
Retrieve the current user by using the portal manager.
|
public static String getCurrentContext(javax.servlet.http.HttpServletRequest request, boolean setInThread)
request - the requestsetInThread - the set in threadpublic static String getCurrentToken(javax.servlet.http.HttpServletRequest request, boolean setInThread)
request - the requestsetInThread - the set in threadpublic static org.gcube.vomanagement.usermanagement.model.GCubeUser getCurrentUser(javax.servlet.http.HttpServletRequest request)
request - the requestCopyright © 2021. All Rights Reserved.