Wrapper to process XML representation of a set of user groups - used only for binding @author Hajo Birthelmer @version $Id: $
463464465466467468469470471472473474475476
{ subject.getPublicCredentials().add(_itTemp.next()); } } JSUserGroups jsUserGroups = jsuser.getGroupString(); List<String> listUserGroups = null; if (jsUserGroups != null) listUserGroups = getTokens(jsUserGroups.toString()); if ((listUserGroups != null) && (listUserGroups.size() > 0)) { Iterator<String> _itTemp = listUserGroups.iterator(); while (_itTemp.hasNext()) {
745746747748749750751752753754755756757
try { pm.addPermission(perm); // TODO handle permission principals generically List<String> listTemp = null; JSUserGroups jsUserGroups = jsPermission.getGroupString(); if (jsUserGroups != null) listTemp = getTokens(jsUserGroups.toString()); if ((listTemp != null) && (listTemp.size() > 0)) { Iterator<String> _itTemp = listTemp.iterator(); while (_itTemp.hasNext()) {