SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Constructor Summary | |
NegotiateChallengeHandler()
A Negotiate Challenge Handler handles initial empty "Negotiate" challenges from the server. |
Method Summary | |
ChallengeHandler
|
register(handler)
Register a candidate negotiable challenge handler that will be used to respond to an initial "Negotiate" server challenge and can then potentially be a winning candidate in the race to handle the subsequent server challenge. |
Constructor Detail |
NegotiateChallengeHandler()
This NegotiateChallengeHandler can be loaded and instantiated using new NegotiateChallengeHandler()
,
and registered at a location using DispatchChallengeHandler.register()
.
In addition, one can register more specific NegotiableChallengeHandler
objects with
this initial NegotiateChallengeHandler
to handle initial Negotiate challenges and subsequent challenges associated
with specific Negotiation mechanism types / object identifiers.
The following example establishes a Negotiation strategy at a specific URL location.
We show the use of a DispatchChallengeHandler
to register a NegotiateChallengeHandler
at
a specific location. The NegotiateChallengeHandler
has a NegotiableChallengeHandler
instance registered as one of the potential negotiable alternative challenge handlers.
Method Detail |
ChallengeHandler register(handler)
handler
- the mechanism-type-specific challenge handler.
ChallengeHandler
a reference to this handler, to support chained calls