@Override public void processChallenge(final String challenge) throws MalformedChallengeException {
  final String s=AuthChallengeParser.extractScheme(challenge);
  if (!s.equalsIgnoreCase(getSchemeName())) {
    throw new MalformedChallengeException("Invalid " + getSchemeName() + " challenge: "+ challenge);
  }
  params=AuthChallengeParser.extractParams(challenge);
}

@ Override public void processChallenge ( final String challenge ) throws MalformedChallengeException { final String s = AuthChallengeParser . extractScheme ( challenge ) ; if ( ! s . equalsIgnoreCase ( getSchemeName ( ) ) ) { throw new MalformedChallengeException ( "Invalid " + getSchemeName ( ) + " challenge: " + challenge ) ; } params = AuthChallengeParser . extractParams ( challenge ) ; }
processes the given challenge token . some authentication schemes may involve multiple challenge - response exchanges . such schemes must be able to maintain the state information when dealing with sequential challenges
