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

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

ColdFusion 10 : ReST calls with user and password

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
AJ Mercer
08/04/2012 11:17 PM

Would someone be able to direct me to some information on how to access user and password passed to a ReST service in ColdFusion 10 please? -- *AJ Mercer* <webonix:net strength="Industrial" /> <http://webonix.net> | <webonix:org community="Open" /> <http://webonix.org> http://twitter.com/webonix Railo Community Manager <http://www.getrailo.org/index.cfm/community/team/>;

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Dave Watts
08/06/2012 10:00 PM

> Would someone be able to direct me to some information on how to access > user and password passed to a ReST service in ColdFusion 10 please? I don't think there's anything special about authentication with ReST - the client passes credentials via web server authentication, and your code could then access CGI.AUTH_USER etc. 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:
AJ Mercer
08/06/2012 10:18 PM

That is for a challenge/response security set at the web server level. For a ReST call, you can pass in a user and password. In CF, this can be done with cfhttp http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_g-h_09.html On 7 August 2012 09:59, Dave Watts <dwatts@figleaf.com> wrote: ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Dave Watts
08/06/2012 11:52 PM

> That is for a challenge/response security set at the web server level. > > For a ReST call, you can pass in a user and password. > > In CF, this can be done with cfhttp > > http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_g-h_09.html When you pass in credentials with CFHTTP, that is using Basic Authentication. 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:
AJ Mercer
08/07/2012 12:19 AM

oh, ok. I will play around with this. Thank you. On 7 August 2012 11:50, Dave Watts <dwatts@figleaf.com> wrote: ----- Excess quoted text cut - see Original Post for more -----


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

Search cf-talk

May 21, 2013

<<   <   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 30 31   

Designer, Developer and mobile workflow conference