Wrapper to process XML representation of a set of user groups - used only for binding @author Hajo Birthelmer @version $Id: $
639640641642643644645646647648649650651
while (_itTemp.hasNext()) { subject.getPublicCredentials().add(_itTemp.next()); } } JSUserGroups jsUserGroups = jsuser.getGroupString(); if (jsUserGroups != null) listTemp = this.getTokens(jsUserGroups.toString()); else listTemp = null; if ((listTemp != null) && (listTemp.size()>0)) { Iterator _itTemp = listTemp.iterator();
815816817818819820821822823824825826827
{ try { pm.addPermission(perm); ArrayList listTemp = null; JSUserGroups jsUserGroups = _js.getGroupString(); if (jsUserGroups != null) listTemp = this.getTokens(jsUserGroups.toString()); else listTemp = null; if ((listTemp != null) && (listTemp.size()>0)) { Iterator _itTemp = listTemp.iterator();
650651652653654655656657658659660661662
820821822823824825826827828829830831832
816817818819820821822823824825826827828
638639640641642643644645646647648649650
808809810811812813814815816817818819820
452453454455456457458459460461462463464465
{ 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()) {
716717718719720721722723724725726727728
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()) {