protected boolean processSpnegoAttribute(final SearchResponse searchResult) {

        if (searchResult == null || searchResult.getEntries().isEmpty()) {
            LOGGER.debug("Spnego attribute is not found in the search results");
            return false;
        }
        val entry = searchResult.getEntry();
        val attribute = entry.getAttribute(this.spnegoAttributeName);
        LOGGER.debug("Spnego attribute [{}] found as [{}] for [{}]", attribute.getName(), attribute.getStringValue(), entry.getDn());
        return verifySpnegoAttributeValue(attribute);
    }
Verify spnego attribute value.

@param searchResult the search result
@return true if attribute value exists and has a value
support/cas-server-support-spnego-webflow/src/main/java/org/apereo/cas/web/flow/client/LdapSpnegoKnownClientSystemsFilterAction.java