basicAuthUserName
Purpose
Sets the username when using HTTP Basic authentication.Examples
jerseyRequestBuilder.get { uri = "http://example.com/protected" useBasicAuth = true basicAuthUserName = "foo" basicAuthPassword = "bar" }
Provides the Jersey client library and a builder to simplify use of the library.
(Quick Reference)
basicAuthUserNamePurposeSets the username when using HTTP Basic authentication.ExamplesjerseyRequestBuilder.get { uri = "http://example.com/protected" useBasicAuth = true basicAuthUserName = "foo" basicAuthPassword = "bar" } DescriptionThe username is required when making HTTP Basic authentication requests. This property is used in conjunction with useBasicAuth and basicAuthPassword. |