@Override
    protected boolean shouldDoSpnego(final String remoteIp) throws Exception {
        val ipCheck = ipPatternCanBeChecked(remoteIp);
        if (ipCheck && !ipPatternMatches(remoteIp)) {
            return false;
        }
        LOGGER.debug("Attempting to locate attribute [{}] for [{}]", this.spnegoAttributeName, remoteIp);
        return executeSearchForSpnegoAttribute(remoteIp);
    }
Instantiates a new action.

@param ipsToCheckPattern              the ips to check pattern
@param alternativeRemoteHostAttribute the alternative remote host attribute
@param dnsTimeout                     # of milliseconds to wait for a DNS request to return
@param searchOperation                the search operation
@param spnegoAttributeName            the certificate revocation list attribute name
support/cas-server-support-spnego-webflow/src/main/java/org/apereo/cas/web/flow/client/LdapSpnegoKnownClientSystemsFilterAction.java