Community
Participate
Working Groups
Right now there's no way to easy use basic auth, one has to extends OslcClient by itself
Bartosz, it's possible to use basic auth with OSLC client today without extending it. It does require one cast to DefaultHttpClient, however. OslcClient oslcClient = new OslcClient(); DefaultHttpClient httpClient = (DefaultHttpClient) oslcClient.getHttpClient(); httpClient.getCredentialsProvider().setCredentials( new AuthScope("example.com", 443), new UsernamePasswordCredentials("username", "password"));