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:
parent
314ed2ab76
commit
4146f6ef77
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue