I'm getting the error below. Using as a model the example in the Restlet in
Action book for Spring integration. The book indicates that the example is the
correct way to create a child context for passing to the application but
nevertheless the error persists. Attaching my bean container xml.
Jun 27, 2011 5:24:13 AM org.restlet.engine.component.ChildContext
fireContextChanged
SEVERE: For security reasons, don't pass the component context to child
Restlets anymore. Use the Context#createChildContext() method instead. class
org.restlet.engine.application.TunnelFilter
Jun 27, 2011 5:24:13 AM org.restlet.engine.component.ChildContext
fireContextChanged
SEVERE: For security reasons, don't pass the component context to child
Restlets anymore. Use the Context#createChildContext() method instead. class
org.restlet.engine.application.StatusFilter
Jun 27, 2011 5:24:13 AM org.restlet.engine.component.ChildContext
fireContextChanged
SEVERE: For security reasons, don't pass the component context to child
Restlets anymore. Use the Context#createChildContext() method instead. class
org.restlet.engine.application.Decoder
Jun 27, 2011 5:24:13 AM org.restlet.engine.component.ChildContext
fireContextChanged
SEVERE: For security reasons, don't pass the component context to child
Restlets anymore. Use the Context#createChildContext() method instead. class
org.restlet.engine.application.Decoder
Jun 27, 2011 5:24:13 AM org.restlet.engine.component.ChildContext
fireContextChanged
SEVERE: For security reasons, don't pass the component context to child
Restlets anymore. Use the Context#createChildContext() method instead. class
org.restlet.engine.application.RangeFilter
Jun 27, 2011 5:24:13 AM org.restlet.engine.component.ChildContext
fireContextChanged
SEVERE: For security reasons, don't pass the component context to child
Restlets anymore. Use the Context#createChildContext() method instead. class
org.restlet.engine.application.ApplicationHelper$1
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2778084
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:util="http://www.springframework.org/schema/util"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.springframework.org/schema/util
http://www.springframework.org/schema/util/spring-util-2.5.xsd">
<bean id="component" class="org.restlet.ext.spring.SpringComponent">
<property name="name" value="APIUS Identity component" />
<property name="description" value="Authentication and authorization. Session management." />
<property name="owner" value="apius.org" />
<property name="author" value="Paul Morris" />
<property name="client" value="http" />
<property name="defaultHost" ref="defaultHost" />
</bean>
<bean id="component.context" class="org.springframework.beans.factory.config.PropertyPathFactoryBean" />
<bean id="defaultHost" class="org.restlet.ext.spring.SpringHost">
<constructor-arg ref="component" />
<property name="defaultAttachment" ref="openAmSessionApplication" />
</bean>
<bean id="componentChildContext" class="org.restlet.Context">
<lookup-method name="createChildContext" bean="component.context" />
</bean>
<bean id="openAmSessionApplication" class="org.restlet.Application">
<constructor-arg ref="componentChildContext" />
<property name="name" value="OpenAM Session Application"/>
<property name="description" value="The APIUS session API meets the OpenAM RESTful API." />
<property name="owner" value="apius.org" />
<property name="author" value="Paul Morris" />
<property name="inboundRoot">
<bean class="org.restlet.ext.spring.SpringRouter">
<constructor-arg ref="openAmSessionApplication" />
<property name="attachments">
<map>
<entry key="/session" value-ref="openAmSession" />
<entry key="/session/attributes" value-ref="openAmSessionAttributes" />
</map>
</property>
</bean>
</property>
</bean>
<bean id="engine" class="org.restlet.engine.Engine" factory-method="getInstance">
<property name="registeredAuthenticators">
<list merge="true">
<bean class="org.apius.identity.session.SessionAuthenticatorHelper" />
</list>
</property>
</bean>
<bean id="openAmSession" class="org.apius.identity.session.openam.SessionImpl">
<constructor-arg ref="openAmSessionProvisionerProxy" />
<constructor-arg ref="openAmAuthenticator" />
</bean>
<bean id="openAmResponseParser" class="org.apius.identity.session.openam.ResponseParser">
<property name="documentHelper" ref="documentHelper"/>
</bean>
<bean id="documentHelper" class="org.apius.xml.DocumentHelper" />
<bean id="openAmSessionProvisionerProxy" class="org.apius.identity.session.openam.SessionProvisionerProxyImpl">
<constructor-arg ref="openAmResponseParser" />
</bean>
<bean id="openAmSessionAttributes" class="org.apius.identity.session.openam.SessionAttributesImpl">
<constructor-arg ref="openAmSessionProvisionerProxy" />
<constructor-arg ref="openAmAuthenticator" />
</bean>
<bean id="openAmAuthenticator" class="org.apius.identity.session.filter.SessionAuthenticator">
<constructor-arg ref="componentChildContext" />
<constructor-arg value="nmpg" />
<constructor-arg ref="openAmSessionVerifier" />
<constructor-arg ref="openAmSessionProvisionerProxy" />
</bean>
<bean id="openAmAuthorizer" class="org.apius.identity.session.filter.SessionAuthorizer">
<constructor-arg ref="openAmSessionProvisionerProxy" />
</bean>
<bean id="openAmSessionVerifier" class="org.apius.identity.session.SessionVerifier">
<constructor-arg ref="openAmSessionProvisionerProxy" />
</bean>
</beans>