Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

setRemoteCredentials() and assembler cfc

n_n_
Level 1
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?





0 Replies
Not applicable
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?







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



But thanks anyway.
Persyval
Level 1
Level 1

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).