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
-
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
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
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
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
/
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
);
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
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
@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
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
));
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
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.
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
);
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
) 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
15 matches
Mail list logo