Expand my Community achievements bar.

setRemoteCredentials() and assembler cfc

Avatar

Level 1
Inside the assembler cfc for a data service, what is the name
of the scope and variables' names which correspond to username and
password set by the setRemoteCredentials() method of a DataService?

Or does setRemoteCredentials() not apply to ColdFusion
assemblers at all?





3 Replies

Avatar

Former Community Member
I think the normal remoting situation, ColdFusion populates
the CFLOGIN scope?



I see Ray Camden has a relevant blog posting on his
experiments with this

here:




http://www.coldfusionjedi.com/index.cfm/2006/11/25/Last-build-of-my-Flex-2ColdFusion-Security-Homewo...



... but I'm not sure whether DataService CFC Assemblers are
different?







Avatar

Level 1
I jsut tested that. Inside the assembler cfc accessed by
DataService, "Variable CFLOGIN is undefined."



But thanks anyway.

Avatar

Former Community Member

It's probably a little late for your question but it might benefit others

I had the same problem you're describing, it seems you can't just access the CFLOGIN.NAME and CFLOGIN.PASSWORD variabele.

They are only available within a <cflogin> </cflogin> block.

I'm new to coldfusion so i have no idea why (trying it to figure that out now).