Skip to main content
Known Participant
February 11, 2013
Question

Help Needed - cf10 brakes cflogin working code

  • February 11, 2013
  • 1 reply
  • 838 views

Hi all

I develop a flex client with a cf backend

after installing cf10 I realized the implemented  login functionality stopd working

I use cflogin and RemoteObject.setRemoteCredentials()

I get the following error for all the dashboard methods which require login by setting the "roles" parameter:

"Unable to invoke CFC - The current user is not authorized to invoke this method"

the same code runs perfectly on CF9 on a different dev machine.

I googled a bit and found out that cf10 has some "improvements" to its security model and the default will not allow this streight forward rpc communication.

now this is where it starts to get blurry for me, and I'd appreciate your help

I found this link - http://help.adobe.com/en_US/ColdFusion/10.0/Developing/WS5AFDEFD4-2851-4a09-A627-7D82974E5EAC.html

http://help.adobe.com/en_US/ColdFusion/10.0/Developing/WS5AFDEFD4-2851-4a09-A627-7D82974E5EAC.htmlI looked at cf 10 administrator - under Data & Services > Flex integration

I enabled and pointed to the keystore file I created

I restarted the server, hoping to gain back the cflogin functionality, but obviously it didn't.

I can only assume CF10 defaults not to allow this flex cf rpc for whatever reason but cannot find clear instructions as to how to fix this.

I could REALLY use some help if you have the know-how

cheers

Ajar

This topic has been closed for replies.

1 reply

cosmitsAuthor
Known Participant
February 14, 2013

Anyone?

Is it so esoteric to have a flex client communicating via flash remoting with a cf back-end?

Is it so un-common to have users authenticate onto your app?

Is it so random obscured and experimental to expect Adobe to have any sort of feedback to developers insisting on sticking with Adobe's technologies?

Can you please respond?

It's critical

cheers

Ajar

March 11, 2013

Hi,

Can you please log a bug and share the code with RMI call there. I will look into it.

Shilpi