I ran into a bit of a snag and I havent been able to figure out how to resolve it.
I want to connect to an FMS which requires a token to be passed to it inorder to authenticate and establish a connection. I havent been able to figure out how to pass some paramaters to netConnect to use when it connects to the FMS.
What I have tried is creating a URLResource and setting that url and appending an authentication token to it. That does not work so I assume that the FMS is configured to accept something of a different format.
When making an explicit netConnect.connect( "url" , token ); it allows me to connect. Is there a way to do this using what is available to me in the OSMF framework?
Could someone point me to some examples to help me out if this has been done before? (Couldnt find any )
Yes, use StreamingURLResource instead of URLResource, and use the connectionArguments property.