Interface HttpChallengeContext

    • Method Detail

      • setChallenge

        HttpChallenge setChallenge​(java.lang.String authenticationScheme,
                                   java.lang.String realm)

        Sets the HttpChallenge.

        This should be used instead of directly adding the HttpHeader, so that can potentially include multiple HttpChallenge instances.

        Parameters:
        authenticationScheme - Authentication scheme.
        realm - Realm.
        Returns:
        HttpChallenge.