Is there a way to have restlet respond to multiple servlet mappings ?
Right now it looks like it will bind to which ever one is hit first by
a request.
In my servlet container paths beginning with /ad are protected by an LDAP realm.
paths beginning with /db are protected by a database realm.
I am trying to make all restlet calls available to both realms LDAP
and database:
Here is an example from web.xml
<context-param>
<param-name>org.restlet.application</param-name>
<param-value>com.example.RestApplication</param-value>
</context-param>
<servlet>
<servlet-name>RestletServlet</servlet-name>
<servlet-class>org.restlet.ext.servlet.ServerServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>RestletServlet</servlet-name>
<url-pattern>/ad/rest/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>RestletServlet</servlet-name>
<url-pattern>/db/rest/*</url-pattern>
</servlet-mapping>
-Thanks
Stephen More
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3064019