protected ClientHttpRequestInterceptor buildAddBasicAuthHeaderRequestInterceptor ( String user , String password ) { return new AddHeaderRequestInterceptor ( HEADER_AUTHORIZATION , buildBasicAuthValue ( user , password ) ) ; }
Build a ClientHttpRequestInterceptor that adds BasicAuth header