Class SessionUtil
- java.lang.Object
-
- org.gcube.portlets.user.accountingdashboard.server.SessionUtil
-
public class SessionUtil extends Object
- Author:
- Giancarlo Panichi
-
-
Constructor Summary
Constructors Constructor Description SessionUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ServiceCredentialsgetServiceCredentials(javax.servlet.http.HttpServletRequest httpServletRequest)static ServiceCredentialsgetServiceCredentials(javax.servlet.http.HttpServletRequest httpServletRequest, String scopeGroupId)
-
-
-
Method Detail
-
getServiceCredentials
public static ServiceCredentials getServiceCredentials(javax.servlet.http.HttpServletRequest httpServletRequest) throws ServiceException
- Parameters:
httpServletRequest- http servlet request- Returns:
- service credentials
- Throws:
ServiceException- exception
-
getServiceCredentials
public static ServiceCredentials getServiceCredentials(javax.servlet.http.HttpServletRequest httpServletRequest, String scopeGroupId) throws ServiceException
- Parameters:
httpServletRequest- http servlet requestscopeGroupId- scope group id- Returns:
- service credentials
- Throws:
ServiceException- exception
-
-