Skip to content

Provide a "username" and "password" properties for RestTemplate [SPR-7331] #11990

@spring-projects-issues

Description

@spring-projects-issues

Evgeny Goldin opened SPR-7331 and commented

Hi,

It would be nice to be able to set a username and password on RestTemplate instance rather then digging to it's HttpClient and setting its state in Java, the only way I could find today: http://forum.springsource.org/showthread.php?t=91471

This way it'll be possible to specify them in configuration XML file as template's properties without having to write any Java code

Thank you!


Affects: 3.0.3

Issue Links:

4 votes, 4 watchers

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)status: declinedA suggestion or change that we don't feel we should currently applytype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions