Minor fixes

git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@129171 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Costantino Perciante 2016-06-20 10:15:48 +00:00
parent 314ed2ab76
commit 4146f6ef77
1 changed files with 2 additions and 1 deletions

View File

@ -117,7 +117,7 @@ public class CKANPublisherServicesImpl extends RemoteServiceServlet implements C
logger.debug("Ckan token has been set for user " + username);
}
logger.debug("Found ckan token " + token + " for user " + username);
logger.debug("Found ckan token " + token.substring(0, 3) + "****************" + " for user " + username);
return token;
}
@ -146,6 +146,7 @@ public class CKANPublisherServicesImpl extends RemoteServiceServlet implements C
rolesToMatch.add(RolesIntoOrganization.ADMIN);
Map<String, List<RolesIntoOrganization>> orgsAndRoles = instance.getGroupsAndRolesByUser(username, rolesToMatch);
logger.debug("Result is " + orgsAndRoles);
Iterator<Entry<String, List<RolesIntoOrganization>>> iterator = orgsAndRoles.entrySet().iterator();
// get the names