Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

lcds 3.1 proxy server -amf-secure not sending cookies when establishing connection


Former Community Member

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"


        <adapter-definition id="http-proxy" class="flex.messaging.services.http.HTTPProxyAdapter" default="true"/>
        <adapter-definition id="soap-proxy" class="flex.messaging.services.http.SOAPProxyAdapter"/>

        <channel ref="my-http"/>
        <channel ref="my-amf"/>
        <channel ref="my-rtmps"/>
        <channel ref="my-secure-amf"/>

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

0 Replies