2 Replies Latest reply on Mar 11, 2013 1:06 AM by Shilpi Khariwal

    Help Needed - cf10 brakes cflogin working code

    cosmits Level 1

      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-7D82974E5 EAC.html

      http://help.adobe.com/en_US/ColdFusion/10.0/Developing/WS5AFDEFD4-2851-4a09-A627-7D82974E5 EAC.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