code: protected Collection<SingleLogoutRequest> createLogoutRequests(final String ticketId,
                                                                     final WebApplicationService selectedService,
                                                                     final RegisteredService registeredService,
                                                                     final Collection<SingleLogoutUrl> logoutUrls,
                                                                     final TicketGrantingTicket ticketGrantingTicket) {
          return logoutUrls
              .stream()
              .map(url -> createLogoutRequest(ticketId, selectedService, registeredService, url, ticketGrantingTicket))
              .filter(Objects::nonNull)
              .collect(Collectors.toList());
      }
docs: Create logout requests collection.
  
  @param ticketId             the ticket id
  @param selectedService      the selected service
  @param registeredService    the registered service
  @param logoutUrls           the logout urls
  @param ticketGrantingTicket the ticket granting ticket
  @return the collection