Hello,
I'm not sure I understand your answer.
I try to remove the third line (
response.getAttributes().put("org.restlet.http.headers", headers);) and in this
case, the headers was not updated anymore (sounds logical for me)!
So, my issue still exist, when I revcover the headers, add mines and
Hi Kevin,
Good idea!
I've added a protected createThreadFactory() method to TaskService
(ex-ExecutorService). By default it names threads with a "restlet-" prefix.
The implementation is based on the code of Executors#defaultThreadFactory
from Doug Lea (public domain).
Another step could be t
Hi Loic,
When you get this message, you should check on this page the mapping between
HTTP headers and Restlet API properties:
http://wiki.restlet.org/docs_1.1/g1/43-restlet/130-restlet.html
Make sure you only use the headers attribute for headers that are not
supported directly by the API.
Bes
Hi All,
I want to authorize each incoming request to my app based on some URl to roles
mapping (created an XML for this). I am not sure how to use Guard class of
restlet frame work for this purpose.I am new to restlet framework.
Also, could not find any tutorials or examples on web for doing thi
Hi Alex,
1) More internal Context refactoring
I've done more context related refactoring (NRE internals), formalizing the
concept of child context by renaming ApplicationContext into ChildContext.
Now, your Directory instances attached to a VirtualHost should also be given
a
child context with
Hi Prashant,
Please have a look at this tutorial part:
http://www.restlet.org/documentation/1.1/tutorial#part09
Best regards,
Jerome
-Message d'origine-
De : news [mailto:[EMAIL PROTECTED] De la part de prashant
Envoye : mercredi 30 juillet 2008 11:33
A : discuss@restlet.tigris.org
Ob
Jerome Louvel noelios.com> writes:
>
>
> Hi Prashant,
>
> Please have a look at this tutorial part:
> http://www.restlet.org/documentation/1.1/tutorial#part09
>
> Best regards,
> Jerome
>
> -Message d'origine-
> De : news [mailto:news ger.gmane.org] De la part de prashant
> Envoye
I exactly do what it's my mail, I just add my custom header (not in the list)
and then I got all the warnings!
-Original Message-
From: Jerome Louvel [mailto:[EMAIL PROTECTED]
Sent: 30 July 2008 09:52
To: discuss@restlet.tigris.org
Subject: RE: Modifying the response headers
Hi Loic,
Hi Prashant,
Please find attached a Guard subclass that checks the password against an
encrypted file in the same format as Apache .htpasswd files.
The best source of information for subclassing Guard is the Javadocs and the
Wiki:
"Securing a Restlet application"
http://wiki.restlet.org/docs_1
Oh, I see now. Then it's probably a bug! :-)
If you have time to file a bug report that would help:
http://www.restlet.org/community/issues
Best regards,
Jerome
-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 30 juillet 2008 14:03
À : discuss@re
Issue opened: http://restlet.tigris.org/issues/show_bug.cgi?id=538
-Original Message-
From: Jerome Louvel [mailto:[EMAIL PROTECTED]
Sent: 30 July 2008 14:31
To: discuss@restlet.tigris.org
Subject: RE: Modifying the response headers
Oh, I see now. Then it's probably a bug! :-)
If you hav
Hello,
Following the changes in the way Components can be configured (latest
subversion revisions), configuring SSL to use an SslContextFactory is
now possible this way:
1. Using the DefaultSslContextFactory:
http://www.restlet.org/schemas/1.1/Component";
xmlns:xsi="http://www.w3.
This looks good. A few minor details:
- Could rename variable jdkExecutorService to executorService, since it's
no longer ambiguous.
- Instead of copying the code to DefaultThreadFactory, could have
RestletThreadFactory decorate it:
private static class RestletThreadFactory implem
I am evaluating Restlet for use in my company's JEE-based products. My main
concern at this point is how to make the Restlet servlet fit into our security
regime. Our existing servlets are chained to a filter that is the entry point
into this regime. In our environment, authentication can be expens
There's no problem running a Restlet application behind a filter that does
its own security operations.
You will have a bit of drama getting to the HttpSession. There is not an
equivalent session mechanism in Restlet, as server side sessions are counter
to the REST pattern.
I would create another
Thanks for the rapid response. We are in the very early stages of looking at
this, so it would be premature to claim that there is actually any "design" to
speak of. I'm just asking noob questions at this point. I am not even sure we
really want/need to do session tracking for the web services clie
Yes, that would be enough to make specific recommendations. Then you could
either subclass or modify #2 to load appropriate authentication or
authorization details into a place Restlet can leverage, or chain a filter
2a that does this work. If you could share a simple fake version of your
existin
Jerome Louvel noelios.com> writes:
>
>
> Hi Prashant,
>
> Please find attached a Guard subclass that checks the password against an
> encrypted file in the same format as Apache .htpasswd files.
>
> The best source of information for subclassing Guard is the Javadocs and the
> Wiki:
>
> "Se
Hi Reiner,
In Restlet 1.1 M4, you don't need to use the SpringApplication class anymore
as we have added similar features on Application class directly. Just use
org.restlet.Application instead.
Best regards,
Jerome
_
De : Reiner Rodriguez Alvarez [mailto:[EMAIL PROTECTED]
Envoyé :
Hi,
I'm using restlet version 1.0.10 (stable) and I'm basing my implementation
on the firstResource tutorial at
http://www.restlet.org/documentation/1.0/firstResource
I have resources which have two potential representations: HTML and XML
I would like to know how my client/requester can specify
20 matches
Mail list logo