/** * Configures the request to use DIGEST authentication with the given username and password. The authentication will not be preemptive. This * method is an alias for calling: `digest(String, String, false)`. * * [source,groovy] * ---- * def http = HttpBuilder.configure { * request.uri = 'http://localhost:10101' * request.auth.digest 'admin', '$3cr3t' * } * ---- * * @param user the username * @param password the user's password */ default void digest(String user, String password) { digest(user, password, false); }
/** * Configures the request to use DIGEST authentication with the given username and password. The authentication will not be preemptive. This * method is an alias for calling: `digest(String, String, false)`. * * [source,groovy] * ---- * def http = HttpBuilder.configure { * request.uri = 'http://localhost:10101' * request.auth.digest 'admin', '$3cr3t' * } * ---- * * @param user the username * @param password the user's password */ default void digest(String user, String password) { digest(user, password, false); }
/** * Configures the request to use DIGEST authentication with the given username and password. The authentication will not be preemptive. This * method is an alias for calling: `digest(String, String, false)`. * * [source,groovy] * ---- * def http = HttpBuilder.configure { * request.uri = 'http://localhost:10101' * request.auth.digest 'admin', '$3cr3t' * } * ---- * * @param user the username * @param password the user's password */ default void digest(String user, String password) { digest(user, password, false); }