Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Digest Auth with GWT gives 401 #754

Open
Fl0r14n opened this issue May 22, 2013 · 0 comments
Open

Digest Auth with GWT gives 401 #754

Fl0r14n opened this issue May 22, 2013 · 0 comments

Comments

@Fl0r14n
Copy link

Fl0r14n commented May 22, 2013

This is what the snippet that I use:

private void request(final String path, final String ussr, final String pass) {
final ClientResource resource = new ClientResource(path);
final ChallengeResponse challengeResponse = new ChallengeResponse(ChallengeScheme.HTTP_DIGEST, ussr, pass);
resource.setChallengeResponse(challengeResponse);
resource.setOnResponse(new Uniform() {
@Override
public void handle(Request request, Response response) {
SC.say("Here " + response.toString());
}
});
resource.get(MediaType.APPLICATION_JSON);
}

@ghost ghost assigned thboileau Nov 18, 2013
@jlouvel jlouvel modified the milestone: Unplanned Nov 2, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants