Does anyone know how to access the httpsession in a component class that receives an inbound httpRequest? As you can see from the config below I'm transforming the httprequest into a parametermap and can read all of the values from the request successfully. However I need to be able to store some of the user's details in the HttpSession and there seems to be zero examples of this.
<service name="FunctionControllerUMO">
<inbound>
<https:inbound-endpoint host="localhost" port="30200" path="mobileFunctionController" synchronous="true" connector-ref="httpsConnector" transformer-refs="HttpRequestBodyToParamMap" responseTransformer-refs="XMLResponseTransformer" />
</inbound>
<component class="com.infinity.mobile.mule.servlet.FunctionControllerImpl" />
<default-service-exception-strategy>
<vm:outbound-endpoint path="systemErrorHandler"/>
</default-service-exception-strategy>
</service>
public class FunctionControllerImpl {
public String execute(HashMap<String, ?> map) {
map.get("someparam");
// I want to store objects in the session here!!
}
}
Thanks in advance.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email