In our application we are trying to use the lcds proxy service to connect to a web service. The flash app has been downloaded from a server that the users log into and the server plants a couple of cookies it uses for session management. The cookies aren't passed in the initial request to the
server and the server kicks back a redirect back to the login screen. how do configure secure-amf
here is my proxy-config.xml:
<service id="proxy-service"
class="flex.messaging.services.HTTPProxyService">
<properties>
<connection-manager>
<cookie-policy>rfc2109</cookie-policy>
<max-total-connections>100</max-total-connections>
<default-max-connections-per-host>2</default-max-connections-per-host>
</connection-manager>
<cookie-limit>200</cookie-limit>
<allow-lax-ssl>true</allow-lax-ssl>
</properties>
<adapters>
<adapter-definition id="http-proxy" class="flex.messaging.services.http.HTTPProxyAdapter" default="true"/>
<adapter-definition id="soap-proxy" class="flex.messaging.services.http.SOAPProxyAdapter"/>
</adapters>
<default-channels>
<!--
<channel ref="my-http"/>
<channel ref="my-amf"/>
<channel ref="my-rtmps"/>
-->
<channel ref="my-secure-amf"/>
</default-channels>
here is the initial raw request:
POST /castlewr/messagebroker/amfsecure HTTP/1.1
Host: xxxxx
Referer: https://xxxx/castlewr/testESN-debug/testESN.html?debug=true
Content-Type: application/x-amf
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3; en-us) AppleWebKit/531.22.7 (KHTML, like Gecko) Version/4.0.5 Safari/531.22.7
Accept: */*
Accept-Language: en-us
Accept-Encoding: gzip, deflate
Content-Length: 244
Flex Message (flex.messaging.messages.CommandMessage) operation = client_ping clientId = null correlationId = destination = messageId = 3C4D5AC6-F268-32A3-2CF1-B77DD05EF2A0 timestamp = 0 timeToLive = 0 body = {} hdr(DSMessagingVersion) = 1 hdr(DSId) = nil
Views
Replies
Total Likes