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.