Persisting credentials to be used with HTTP Digest authentication

2014-04-12 Thread Fabian Mandelbaum
Hello, I'm trying to switch from HTTP Basic (through an HTTPS channel) to HTTP Digest (keeping the HTTPS channel) authentication. I'm currently testing without HTTPS, and I was wondering how should my 'backend' store the user credentials. Currently I'm using an MD5 hash of the password, so I

RE: Credentials

2009-07-21 Thread Jerome Louvel
- De : restletuser [mailto:jeanjov...@yahoo.com] Envoyé : mercredi 15 juillet 2009 17:41 À : discuss@restlet.tigris.org Objet : Credentials I am a newbie using restlet framework. I would like to know how the user credentials can be passed to the resource for GET, POST, PUT operations. Can someone

Credentials

2009-07-15 Thread restletuser
I am a newbie using restlet framework. I would like to know how the user credentials can be passed to the resource for GET, POST, PUT operations. Can someone give insight on to this. -- View this message in context: http://n2.nabble.com/Credentials-tp3263991p3263991.html Sent from the Restlet

RE: Using credentials from the Container

2009-04-02 Thread Jerome Louvel
Objet : Using credentials from the Container Hi everyone, Can someone tell me, with the new Security API, will it be possible to use the credentials from the Container? I use the BASIC authentication with Tomcat now, but I'm wondering if it's possible to have the Restlet Request's ChallengeResponse

Using credentials from the Container

2009-03-24 Thread Dustin N. Jenkins
Hi everyone, Can someone tell me, with the new Security API, will it be possible to use the credentials from the Container? I use the BASIC authentication with Tomcat now, but I'm wondering if it's possible to have the Restlet Request's ChallengeResponse be populated automagically from

RE: [restlet-user] Retrieving Credentials sent by HttpClient

2009-01-27 Thread Jerome Louvel
/ http://www.restlet.org Noelios Technologies ~ Co-founder ~ http://www.noelios.com http://www.noelios.com _ De : John Prystash [mailto:stash1...@yahoo.com] Envoye : lundi 26 janvier 2009 23:33 A : discuss@restlet.tigris.org Objet : Re: [restlet-user] Retrieving Credentials sent

Re: [restlet-user] Retrieving Credentials sent by HttpClient

2009-01-26 Thread John Prystash
); guard.getSecrets().put(john, john.toCharArray()); guard.setNext(MyResource.class); In my client, I set the credentials as before: def credentials = new UsernamePasswordCredentials(john, john) And I get a 401. So with this simpler approach where Guard.authenticate

Re: [restlet-user] Retrieving Credentials sent by HttpClient

2009-01-26 Thread John Prystash
pinging here, but I'm running out of ideas :) From: John Prystash stash1...@yahoo.com To: discuss@restlet.tigris.org Sent: Monday, January 26, 2009 10:47:01 AM Subject: Re: [restlet-user] Retrieving Credentials sent by HttpClient To follow-up, I tried following

Re: [restlet-user] Retrieving Credentials sent by HttpClient

2009-01-26 Thread John Prystash
@restlet.tigris.org Sent: Monday, January 26, 2009 5:12:54 PM Subject: Re: [restlet-user] Retrieving Credentials sent by HttpClient To follow-up some more... I tried using the Restlet Client code provided by the example in the tutorial (http://www.restlet.org/documentation/1.1/tutorial#part09) and went back

[restlet-user] Retrieving Credentials sent by HttpClient

2009-01-25 Thread John Prystash
Hi, I'm trying to retrieve the credentials set in by HttpClient in my Restlet service. I'm using Mule 2.0.2 with 1.1.3 of the Mule Restlet Transport (uses Restlet 1.1.1). In my Guard class, request.getChallengeResponse() is return null. My Guard extension: public class MyGuard extends

Credentials sent via Apache HttpClient not getting retrieved by Restlet Custom Guard classes

2008-04-30 Thread Surjendu
)); client.setConnectionTimeout(8000); File f = new File(C:\\input.txt); System.out.println(File Length + f.length()); mPost.addParameter(f.getName(), f); Credentials defaultcreds = new UsernamePasswordCredentials(xxx

Re: Credentials sent via Apache HttpClient not getting retrieved by Restlet Custom Guard classes

2008-04-30 Thread Surjendu
I tried that..But i still get the credentials as null..Is there any other way to figure out whether the credentials are reaching the server.

Re: Credentials sent via Apache HttpClient not getting retrieved by Restlet Custom Guard classes

2008-04-30 Thread Rhett Sutphin
On Apr 30, 2008, at 2:18 PM, Surjendu wrote: I tried that..But i still get the credentials as null..Is there any other way to figure out whether the credentials are reaching the server. I'm a fan of wireshark for isolating client/server interaction problems: http://www.wireshark.org

Re: Credentials sent via Apache HttpClient not getting retrieved by Restlet Custom Guard classes

2008-04-30 Thread Thierry Boileau
); File f = new File(C:\\input.txt); System.out.println(File Length + f.length()); mPost.addParameter(f.getName(), f); Credentials defaultcreds = new UsernamePasswordCredentials(xxx, xxx

Re: Credentials sent via Apache HttpClient not getting retrieved by Restlet Custom Guard classes

2008-04-30 Thread Surjendu
) in Request, inserting credentials in the challengeScheme, i am able to retrieve the login/pwd in my resource.Problem is whenever I use an apache client library the following returns null: request.getChallengeResponse().getIdentifier(); request.getChallengeResponse().getCredentials(); To circumvent