@Override
    public boolean matches(final RegisteredService registeredService, final String serviceId) {
        val assignedId = registeredService.getServiceId().trim();
        if (this.caseInsensitive) {
            return assignedId.equalsIgnoreCase(serviceId);
        }
        return assignedId.equals(serviceId);
    }
This is {@link LiteralRegisteredServiceMatchingStrategy}.

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