House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  Adobe Flex

Secure communication between Flex app and CFC

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Hi
Damyano Damyanos
11/04/10 04:17 A
Hi Dave
Damyano Damyanos
11/07/10 12:02 P
> Thank you for your answer!
Dave Watts
11/07/10 12:40 P
Hi Dave
Damyano Damyanos
11/07/10 02:32 P
Hi Dave
Damyano Damyanos
11/09/10 07:49 A
Hi
Damyano Damyanos
11/11/10 06:01 A
Hi
Damyano Damyanos
11/11/10 06:02 A
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Damyano Damyanos
11/04/2010 04:17 AM

Hi I would like to make secure communicatoin between Flex app and CFC. I am not sure what is the whole process? I would appreciate any help. I have seen this in the Coldfusion Administrator, but i don't know do i need it and how to use it? Enable RMI over SSL for Data Management Lets you use Secure Socket Layer (SSL) encryption for the RMI communication between Flex and ColdFusion. This is not required unless you are transmitting authentication information or confidential data between Flex and ColdFusion over an unsecured network. You must provide a keystore file and keystore password. For instructions on how to create a keystore file, see the online Help Thank you in advance!

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Dave Watts
11/04/2010 11:07 AM

----- Excess quoted text cut - see Original Post for more ----- Are you just invoking CFCs from your Flex app via RemoteObject or WebService? If so, all you need to do is put those CFCs behind SSL - there's no switch in the CF Admin for this, you just configure your web server. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Damyano Damyanos
11/07/2010 12:02 PM

Hi Dave Thank you for your answer! That it nice, then the flex app i have is already secured. But i would like to ask why should one set in services-config: <add-no-cache-headers>false</add-no-cache-headers> and remoting-config: <channel ref="my-cfamf-secure"/> ?  I read about this in many places. Thanks!

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Dave Watts
11/07/2010 12:40 PM

> Thank you for your answer! > That it nice, then the flex app i have is already secured. > > But i would like to ask why should one set in services-config: <add-no-cache-headers>false</add-no-cache-headers> and > remoting-config: <channel ref="my-cfamf-secure"/> ?  I read about this in many places. If you're using RemoteObject, you need to have a corresponding channel that uses the HTTPS port (typically TCP/443). You should already have that channel defined by default ("my-cfamf-secure"). If you're using WebService, you don't need to define a channel at all. I thought that the add-no-cache-headers setting was set to false by default now, but I could be wrong about that. Again, though, that only affects RemoteObject, not WebService. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Damyano Damyanos
11/07/2010 02:32 PM

Hi Dave Thank you very much again! Very helpfull answer for me! I am using remoteobjects. So i did what you said. And it looks working. But i don't know how can i be secure that the communication is secure. I mean, is there some way to verify that the communication is secure? Where/How i can verify it when i have done it? Thank you!

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Dave Watts
11/07/2010 09:17 PM

> I am using remoteobjects. So i did what you said. > And it looks working. But i don't know how can i be secure that the communication is secure. I mean, is there some way to verify > that the communication is secure? Where/How i can verify it when i have done it? Sure, you can verify that you're connecting on the SSL port instead of the plaintext port. You can do this in several places, but the easiest is probably just to add TraceTarget to your application and look at your console. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite.

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Damyano Damyanos
11/09/2010 07:49 AM

Hi Dave I have tried that but i don't have a clue how to see if the channel is secured. Would you help me wiht it? Thank you so much for all ur answers! ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Dave Watts
11/09/2010 08:50 AM

> I have tried that but i don't have a clue how to see if the channel is secured. Put TraceTarget into your declarations, then debug your application. The console should then show you how you're connecting, among other things. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite.

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Damyano Damyanos
11/11/2010 06:01 AM

Hi Still no luck :( I was searching the logs and i found this: java.lang.NullPointerException   at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:285)   at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)   at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)   at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)   at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)   at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)   at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) Any ideas? Thank you!

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Dave Watts
11/11/2010 07:56 AM

----- Excess quoted text cut - see Original Post for more ----- That could mean almost anything. It doesn't look like it has anything to do with SSL, though. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Damyano Damyanos
11/11/2010 06:02 AM

Hi I have no luck still. I've been searching in the logs for some info, and i found this: java.lang.NullPointerException   at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:285)   at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)   at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)   at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)   at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)   at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)   at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) Any ideas? Thank you!


<< Previous Thread Today's Threads Next Thread >>

Search flex

February 22, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29