Absolutely brilliant! Seems to work perfectly.
Thank you so very much.
I'll throw this up on the wiki so the next person doesn't have to ask the same
question again.
--
I am using Restlet Version 2.0 Milestone 5 (testing).
When i try to create ChallengeResponse and set in ClientResource i get the
below warning:
org.restlet.engine.security.AuthenticatorUtils format
WARNING: Challenge scheme SID6 not supported by the Restlet engine.
Below is the code:
Thanks for checking it out Rob.
Unfortunately did not work for me, and I again get the following:
Oct 20, 2009 6:18:55 PM org.restlet.service.ConverterService toRepresentation
WARNING: Unable to find a converter for this object :
org.restlet.representation.stringrepresentat...@a44085
Oct 20, 2009
Hi,
is anyone there to help?
Thanks!
Dear All,
I am using the restlet-jee-2.0snapshot,
jdk5.0 on Tomcat 5.5.
I have an application.properties file:
WEB-INF/classes/application.properties
But I keep getting the following error:
java.lang.IllegalArgumentException: Cannot access to the
Hello Jerome,
First, thanks for your response, it resolve my issue.
I use MD5 on the password because it is encrypt in MD5 in my database ( I know
it's not very safe, but it's the directive of my manager).
Kind regards
Laurent Garrigues
--
Hi Jerome,
thanks for the snippet.
My error was returning the guarded router instead of the authenticator.
That way worked in M4 outside GAE/J.
Anyway I just verified that everything works fine.
Do you know when M5 will be released??
Thanks again.
Jerome Louvel wrote:
Hi
Hi Patrizio,
Thanks for the confirmation ! Restlet 2.0 M6 is expected next month.
Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org/
http://www.restlet.org
Noelios Technologies ~ Co-founder ~ http://www.noelios.com/
http://www.noelios.com
Hello,
gonzajg a écrit :
Is there a way to get the challengeresponse in resources?
You should be able to get them in a ServerResource using
ServerResource#getChallengeResponse()
Then you could do a *getIdentifier()* and *getSecret()*
Laurent.
--
Laurent Rustuel,
Alten contractor for Genesys,
Hi,
I'm having some trouble with ServerServlet, and am a bit stuck. What
I've done is to subclass ServerServlet and override the
createApplication() method to create and return my own subclass of
Application. Then, in start() I create and initialize my whole internal
application setup. When
thanks Laurent!
it worked!
Laurent Rustuel wrote:
Hello,
gonzajg a écrit :
Is there a way to get the challengeresponse in resources?
You should be able to get them in a ServerResource using
ServerResource#getChallengeResponse()
Then you could do a *getIdentifier()* and *getSecret()*
If the problem recurs with 2.0M5 or a recent trunk snapshot, let me know and
I'll download Pax Runner / Felix to look again.
I've seen the socket is not connected thing when I use the internal HTTP
connector and certain browsers; it's not actually harmful, just annoying.
The internal HTTP
Hi,
On Oct 20, 2009, at 10:46 AM, webp...@tigris.org wrote:
Hi,
is anyone there to help?
Thanks!
Dear All,
I am using the restlet-jee-2.0snapshot,
jdk5.0 on Tomcat 5.5.
I have an application.properties file:
WEB-INF/classes/application.properties
But I keep getting the following
Laurent, you can always calculate the MD5 hash on the server side,
before trying to match the password with the one read from the
database. There's no need to calculate it on the client at all.
On Tue, Oct 20, 2009 at 12:40 PM, Laurent Garrigues
laur...@speedinfo.fr wrote:
Hello Jerome,
First,
Hello, i am having trouble in communicating between the Reslet example from
tutorial: First resource and my ajax client. When i look at the restlet log
seems everithing ok, i get
INFO: 2009-10-2118:47:35127.0.0.1 - - 8182
GET / - 200 12
Hello,
I can't figure out why my router isn't routing to the correct resource. It
always seems to route to the default route. I have 2 routes:
router.attachDefault(DefaultResource.class);
router.attach(/gpsh/test1,TestResource.class);
My servlet container mapping:
Hello,
gonzajg a écrit :
Is there a way to get the challengeresponse in resources?
You should be able to get them in a ServerResource using
ServerResource#getChallengeResponse()
Then you could do a *getIdentifier()* and *getSecret()*
Laurent.
--
Laurent Rustuel,
Alten contractor for
I'm not 100% sure based on that description, but try setting your
second router line to:
router.attach(/test1)
On Oct 21, 2009, at 1:19 PM, Matt Stromske wrote:
Hello,
I can't figure out why my router isn't routing to the correct
resource. It always seems to route to the default
17 matches
Mail list logo