minor fix when logout is performed but session was expired
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@131740 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
3c0f371ef2
commit
228f4b4193
|
@ -43,6 +43,10 @@ public class CkanLogout extends HttpServlet {
|
|||
ASLSession session = getASLSession(httpSession);
|
||||
String scope = (String) req.getSession().getAttribute(SessionCatalogueAttributes.SCOPE_CLIENT_PORTLET_URL);
|
||||
String username = session.getUsername();
|
||||
|
||||
if(username.equals(GcubeCkanDataCatalogServiceImpl.TEST_USER))
|
||||
return;
|
||||
|
||||
logger.info("CkanLogout performing...");
|
||||
CkanConnectorAccessPoint ckanAP = SessionUtil.getCkanAccessPoint(req.getSession(), scope);
|
||||
// String token = getGcubeSecurityToken();
|
||||
|
|
Loading…
Reference in New Issue