(Quick Reference)

useBasicAuth

Purpose

Enables the use of HTTP Basic authentication.

Examples

jerseyRequestBuilder.get {
    uri = "http://example.com/protected"
    useBasicAuth = true
    basicAuthUserName = "foo"
    basicAuthPassword = "bar"
}

Description

Enables the use of HTTP Basic authentication. This property is used in conjunction with useBasicAuth and basicAuthPassword.