@Override
    public List<RegisteredServiceQueryIndex> getRegisteredServiceIndexes() {
        val indexes = super.getRegisteredServiceIndexes();
        val registeredServiceIndexedType = getRegisteredServiceIndexedType();
        indexes.add(BasicRegisteredServiceQueryIndex.hashIndex(
            new RegisteredServiceQueryAttribute(registeredServiceIndexedType.getValue(), String.class, "clientId")));
        return indexes;
    }
This is {@link OAuth20ServicesManagerRegisteredServiceLocator}.

@author Misagh Moayyed
@since 6.3.0
support/cas-server-support-oauth-core-api/src/main/java/org/apereo/cas/support/oauth/services/OAuth20ServicesManagerRegisteredServiceLocator.java