code: protected WSFederationRegisteredService getWsFederationRegisteredService(final Service targetService) {
          val svc = wsFederationRequestConfigurationContext.getServicesManager().findServiceBy(targetService, WSFederationRegisteredService.class);
          RegisteredServiceAccessStrategyUtils.ensureServiceAccessIsAllowed(targetService, svc);
          return svc;
      }
docs: Gets ws federation registered service.
  
  @param targetService the target service
  @return the ws federation registered service