Quantcast
Channel: Adobe Community : Unanswered Discussions - ColdFusion
Viewing all articles
Browse latest Browse all 5794

coldfusion 10 active directory authentication through jrun.security.ntauth

$
0
0

we are using a coldfusion component to  authenticate Active directory users to give access to intranet websites, below code is working fine in development version of coldfusion 10 but when i move this to production (enterprise edition) , its not working and throwing an error message "class not found jrun.security.ntauth"


<CFFUNCTIONNAME="authenticateUser"ACCESS="REMOTE"OUTPUT="yes"STATIC="yes"HINT="Authenticates the user.">
  
<CFARGUMENTNAME="userid"TYPE="string"REQUIRED="true"/>
  
<CFARGUMENTNAME="passwd"TYPE="string"REQUIRED="true"/>
  
<CFARGUMENTNAME="domain"TYPE="string"REQUIRED="true"/>

  
<CFTRY>
  
<CFSCRIPT>
  ntauth = createObject("java", "jrun.security.NTAuth");
  ntauth.init(arguments.domain);
   ntauth.authenticateUser(arguments.userid, arguments.passwd);
  auth = true;
  
</CFSCRIPT>

  
<CFCATCH>
  
<CFSETauth=false>
  
</CFCATCH>
  
</CFTRY>

  
<CFRETURNAUTH>
  
</CFFUNCTION>



please let me know if any of you come across this kind of situation


Viewing all articles
Browse latest Browse all 5794

Trending Articles