The BasicChallengeHandler type exposes the following members.

Constructors

  NameDescription
Protected methodBasicChallengeHandler

Methods

  NameDescription
Public methodCanHandle
Can the presented challenge be potentially handled by this challenge handler? a challenge request object containing a challenge

Return Value

true iff this challenge handler could potentially respond meaningfully to the challenge.
(Inherited from ChallengeHandler.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodHandle
Handle the presented challenge by creating a challenge response or returning NULL. This responsibility is usually achieved by using the associated LoginHandler to obtain user credentials, and transforming those credentials into a ChallengeResponse.

When it is not possible to create a ChallengeResponse, this method MUST return NULL.

a challenge object

Return Value

a challenge response object or NULL if no response is possible.
(Inherited from ChallengeHandler.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodSetRealmLoginHandler
Set a Login Handler to be used if and only if a challenge request has a realm parameter matching the provided realm. the realm upon which to apply the loginHandler.the login handler to use for the provided realm.
Public methodToString (Inherited from Object.)

Properties

  NameDescription
Public propertyLoginHandler
Get the general (non-realm-specific) login handler associated with this challenge handler. A login handler is used to assist in obtaining credentials to respond to challenge requests.

Return Value

a login handler to assist in providing credentials, or NULL if none has been established yet.

See Also