public KieServerHttpRequest basicAuthorization ( final String name , final String password ) { return header ( AUTHORIZATION , "Basic " + org . kie . server . common . rest . Base64Util . encode ( name + ' ' + password ) ) ; }
Set the Authorization header to given values in Basic authentication format