Group jackrabbitGroup = getJackrabbitGroup( theTenant, roleName, session );
if ( ( jackrabbitGroup == null )
|| !TenantUtils.isAccessibleTenant( theTenant == null ? tenantedRoleNameUtils.getTenant( jackrabbitGroup
.getID() ) : theTenant ) ) {
throw new NotFoundException( Messages.getInstance().getString(
"AbstractJcrBackedUserRoleDao.ERROR_0002_ROLE_NOT_FOUND" ) );
}
HashMap<String, User> currentlyAssignedUsers = new HashMap<String, User>();
Iterator<Authorizable> currentMembers = jackrabbitGroup.getMembers();
while ( currentMembers.hasNext() ) {