default RegisteredService findServiceByExactServiceName(final String name) {
        return getServicesStream()
            .sorted()
            .filter(r -> r.getName().equals(name))
            .findFirst()
            .orElse(null);
    }
Find a service by an exact match of the service name.

@param name the name
@return the registered service
api/cas-server-core-api-services/src/main/java/org/apereo/cas/services/ServiceRegistry.java