protected boolean ipPatternMatches(final String remoteIp) {
        val matcher = this.ipsToCheckPattern.matcher(remoteIp);
        if (matcher.find()) {
            LOGGER.debug("Remote IP address [{}] should be checked based on the defined pattern [{}]", remoteIp, this.ipsToCheckPattern.pattern());
            return true;
        }
        LOGGER.debug("No pattern or remote IP defined, or pattern does not match remote IP [{}]", remoteIp);
        return false;
    }
Simple pattern match to determine whether an IP should be checked.
Could stand to be extended to support "real" IP addresses and patterns, but
for the local / first implementation regex made more sense.

@param remoteIp the remote ip
@return whether the remote ip received should be queried
support/cas-server-support-spnego-webflow/src/main/java/org/apereo/cas/web/flow/client/BaseSpnegoKnownClientSystemsFilterAction.java