I am using the java bcrypt class library to encrypt passwords on one of my
sites and it is working fine. However, I am extending the app with a
webservice and using the same bcrypt library to authenticate logins. This
works fine for a period of time and then stops working.
The error that I
that is a pretty generic error, but as it only happens after a while you
might solve the problem by caching your object in application scope so it
doesn;t have to be instan tiated every time.
application.bcrypt = CreateObject(java, BCrypt);
obviously check that it exists before creating it , or
Yea, it is the generic nature of the error that is so frustrating. Like I
said, I can still call the same class file and make the identical method
call from another cf file even after the webservice starts throwing the
error, so my assumption is that it is being cached somewhere. I tried
clearing
Based on your description, I think this is the line causing an error.
bcrypt.checkpw(lcase(password),Member.getMemberPassword())
I might just add some more granular logging before the statement that would
maybe nail down what is amiss.
try { writeoutput(lcase(password)); } catch (any e) {
I'm trying to write a CF script to automate the creation of a photo
slideshow video in Picasa. I want to programatically take, say, a folder of
JPGs, convert them to a slideshow video, and upload the result to YouTube -
without any human intervention. Has anyone had any experience with the
Picasa
5 matches
Mail list logo