Como enviar solicitação de postagem autenticada NTLM usando jersey?

Estou fazendo chamadas de API restantes para o Sharepoint 2013 usando Java. Como posso me conectar ao sharepoint 2013 usando o jersey rest client?

Nota: atualmente estou usando componentes http apache eNTCredentials classe

Credentials credentials=new NTCredentials(username, password, workstation, domain);
AuthScope authScope=new AuthScope(AuthScope.ANY);
CredentialsProvider credsProvider = new BasicCredentialsProvider();
credsProvider.setCredentials(authScope,credentials);
CloseableHttpClient httpclient = HttpClients.custom().setDefaultCredentialsProvider(credsProvider).build();

Como adotar isso na estrutura de Jersey?

questionAnswers(1)

yourAnswerToTheQuestion