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

Cannot get BCrypt to work in CF11

$
0
0

Hello, all,

 

I'm trying to get bcrypt to work in CF11 server, and I'm banging my head into a wall.

 

I've got the following in my application.cfc file:

 

this.jsPath = "/path/to/html/classes/";
this.javaSettings = {LoadPath = this.jsPath};

 

The path is where I have placed "BCrypt.class" file downloaded from GitHub.

 

This, by itself, doesn't cause any problems.  But adding the following causes it to error, and it will NOT see the application scoped variables (like the onError email address that I'm setting):

 

bcrypt = CreateObject("java","BCrypt");

 

 

This breaks everything and even the error template won't display.  What am I missing?

 

Thank you,

 

^_^


Viewing all articles
Browse latest Browse all 5794

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>