(Quick Reference)

basicAuthPassword

Purpose

Sets the password when using HTTP Basic authentication.

Examples

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

Description

The password is required when making HTTP Basic authentication requests. This property is used in conjunction with useBasicAuth and basicAuthUserName.