protected boolean processSpnegoAttribute ( final Response < SearchResult > searchResult ) { val result = searchResult . getResult ( ) ; if ( result == null || result . getEntries ( ) . isEmpty ( ) ) { LOGGER . debug ( "Spnego attribute is not found in the search results" ) ; return false ; } val entry = result . 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 .