ResponseEntity < SimplePrincipal > function ( final UsernamePasswordCredential arg0 ) { final HttpEntity < SimplePrincipal > loc0 = new HttpEntity < > ( createHeaders ( arg0 ) ) ; return restTemplate . exchange ( authenticationUri , HttpMethod . POST , loc0 , SimplePrincipal . class ) ; }
authenticate and receive eneity from the rest template . concode_field_sep RestTemplate restTemplate concode_elem_sep String authenticationUri concode_field_sep HttpHeaders createHeaders concode_elem_sep void setAuthenticationUri concode_elem_sep void setRestTemplate concode_elem_sep RestTemplate getRestTemplate concode_elem_sep String getAuthenticationUri