[OFBiz] Users - A few errors/exceptions with latest SVN build
Manuel Meyer
m.meyer at telaside.com
Wed Nov 9 05:44:20 EST 2005
Hi Charles and all,
It looks like when someone creates a user on the e-commerce part, you cannot
log again and you have an invalid password error.
When you change the password inside the party manager, you can login again.
According the what I've seen, it seems that the password is ciphered once in
the createCustomer event, and 're-ciphered' again in the createUserLogin
service (location="org.ofbiz.securityext.login.LoginServices"
invoke="createUserLogin">) before being stored in the db.
In the old version of Ofbiz I am using (58xx) it was not the case, and I
have seen that the same issue applies in the last version of sequoia (at
least RC2).
I think that the difference is in
applications/party/script/org/ofbiz/party/party/PartySimpleMethods.xml,
<simple-method method-name="createPersonAndUserLogin"
short-description="Creates a person and userlogin" login-required="false">
which directly stores the values in the DB in the old version, while in more
recent version a call to the service "createUserLogin" is made, which
'double cipher' the password.
Best regards,
Manuel
> Dear List Members,
>
> Recently I played with SVN 6066 and SVN 6090. There was an error
> when OFBiz is starting up. Also, an assortment of exceptions (total
> of 3, all listed below) when I play around in ecommerce. One of
> them is fairly critical - cannot log in via ecommerce using a newly
> created account.
>
> --> Error 4
>
> Created an account within ecommerce, specified email address as the
> user name. Specified a password too.
>
> Once completed, ecommerce would display the default page, with
> Welcome <new user name> at the top of the screen. Click on "Not
> you", and come to the log in screen.
>
> Type in the new user name (in the form of email address), type in
> the password and click on "Login". Exception would occur. As the
> result, I cannot log in using the newly created account.
>
> 1160050 (http-0.0.0.0-8443-Processor2) [ RequestHandler.java:
> 210:INFO ] [Processing Request]: login
> 1160162 (http-0.0.0.0-8443-Processor2) [ LoginServices.java:
> 213:INFO ] [LoginServices.userLogin] : Password Incorrect
> 1162233 (http-0.0.0.0-8443-Processor2) [ ServiceDispatcher.java:
> 407:ERROR] Service Error [userLogin]: Password incorrect.
> 1162313 (http-0.0.0.0-8443-Processor2) [ TransactionUtil.java:
> 249:ERROR]
> ---- exception report
More information about the Users
mailing list