/** * Constructor using the context's default verifier. * * @param context * The context. * @param optional * Indicates if the authentication success is optional. * @param challengeScheme * The authentication scheme to use. * @param realm * The authentication realm. * * @see #ChallengeAuthenticator(Context, boolean, ChallengeScheme, String, * Verifier) */ public ChallengeAuthenticator(Context context, boolean optional, ChallengeScheme challengeScheme, String realm) { this(context, optional, challengeScheme, realm, (context != null) ? context.getDefaultVerifier() : null); }