@Override
    public boolean matches(final RegisteredService registeredService, final RegisteredServiceQuery query) {
        val queryAttribute = new RegisteredServiceQueryAttribute(query);
        val propertyValue = queryAttribute.getValue(registeredService, new QueryOptions());
        return query.getValue().equals(propertyValue);
    }
This is {@link DefaultRegisteredServiceIndexService}.

@author Misagh Moayyed
@since 7.3.0
core/cas-server-core-services-registry/src/main/java/org/apereo/cas/services/query/DefaultRegisteredServiceIndexService.java