954,585 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Windows Authentification

I am trying to access a web service on a server that requires windows authentification.
These are the steps I'm trying to take.

1. Use script below to do window auth.

<cfscript>
  objNTAuth = createObject("java", "jrun.security.NTAuth");
  objNTAuth.init("Name_of_Domain");
  objNTAuth.authenticateUser("userid","password");
</cfscript>


2. Then invoke my call to the web service.

I am having trouble with the windows auth part.
I have been given a username of "ABC\DEFGHI" and a password
Am I correct that the domain name is "ABC" and the username would be "DEFGHI".
If so... I don't understand how my script can access the domain.
Would the domain not have to have a url of some sort so that it knows where the server is?
Am I missing some understanding of this?

Any hints or explanations would be helpful.
Thanks

Spiderant
Newbie Poster
14 posts since Nov 2010
Reputation Points: 10
Solved Threads: 3
 

Found a solution. (cftag "cfx_http5")
It can be found here if your interested.
http://www.cftagstore.com/tags/cfxhttp5.cfm

Spiderant
Newbie Poster
14 posts since Nov 2010
Reputation Points: 10
Solved Threads: 3
 

Use CFLDAP tag provide required attriburts deatils

kha_tsn
Newbie Poster
6 posts since May 2011
Reputation Points: 10
Solved Threads: 0
 

urCFm.cfm
-----------

urCFC.cfc
----------


do ur logic stuff here

kha_tsn
Newbie Poster
6 posts since May 2011
Reputation Points: 10
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: