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

@param targetService the target service
@return the ws federation registered service