public final class BasicAuthCancellation
extends java.lang.Object
UsernamePasswordProvider
returns with a non-null object other than UsernamePasswordToken
then that object gets wrapped
into an object of this type.Modifier and Type | Field and Description |
---|---|
java.lang.Object |
object |
boolean |
wasChallenge |
Constructor and Description |
---|
BasicAuthCancellation(boolean wasChallenge,
java.lang.Object object)
Constructor for creating cancellation signal.
|
public final boolean wasChallenge
public final java.lang.Object object
public BasicAuthCancellation(boolean wasChallenge, java.lang.Object object)
wasChallenge
- This allows for callers to signal that the basic authentication mechanism cancelled the conversation and at which stage (If true it was during response stage. If false it was during
request stage.).object
- reason of the cancellation.