basicAuthentication
Add HTTP Basic Authentication to requests with the given username/password pair, unless a custom Authorization header has been set before.
Return
a new builder instance
Since
2.1.0
Parameters
username
the user name
password
the password
See also
open fun basicAuthentication(username: String, password: String, charset: Charset): RestTemplateBuilder
Add HTTP Basic Authentication to requests with the given username/password pair, unless a custom Authorization header has been set before.
Return
a new builder instance
Since
2.2.0
Parameters
username
the user name
password
the password
charset
the charset to use