Class ChallengeRequest

An immutable object representing the challenge presented by the server when the client accessed the URI represented by a location.

According to RFC 2617,

    challenge   = auth-scheme 1*SP 1#auth-param
so we model the authentication scheme and parameters in this class.

This class is also responsible for detecting and adapting the Application Basic and Application Negotiate authentication schemes into their Basic and Negotiate counterpart authentication schemes.


Field Summary
String authenticationParameters
          (Read only) The string after the space separator, not including the authentication scheme nor the space itself, or null if no such string exists.
String authenticationScheme
          (Read only) The authentication scheme with which the server is challenging.
String location
          (Read only) The protected URI the access of which triggered this challenge.
 
Constructor Summary
ChallengeRequest(location, challenge)
            Creates an instance of ChallengeRequest using the protected URI location accessing which triggered the challenge.
 
Field Detail

authenticationParameters

String authenticationParameters

authenticationScheme

String authenticationScheme

location

String location

Constructor Detail

ChallengeRequest

ChallengeRequest(location, challenge)