You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@roller.apache.org by Rasif Khan <Ra...@lntinfotech.com> on 2008/04/16 12:16:20 UTC

encryption issue

Hi,

I am working on integrating roller with my website which i am developing
currently. I have done most part of it.
The problem is that roller encrypts the password entered by user (i am
using md5) to match it with the encrypted
password stored in roller table. I want to remove this encryption of
password entered by user, bcoz i am already
passing the encrypted password to make a match with the one stored in
table. Here if i am not removing this user
entered password's encryption then the password is encrypted twice & error
occurs of "Wrong match of username
& password". Plz help me telling how to remove this encryption of user
entered password, which he enters at the
time of LOGIN.


Regards
Rasif Khan




______________________________________________________________________

Re: encryption issue

Posted by Rasif Khan <Ra...@lntinfotech.com>.
Hi,

I know abt those properties & i hv changed encryption to MD5 instead of
SHA.
My point is that when user enters his password for login,whether or not
this
password is encrypted to make a match with the one stored in database.
If yes then how to remove it from being encrypted.


Regards
Rasif Khan



______________________________________________________________________

Re: encryption issue

Posted by Dave <sn...@gmail.com>.
You can override these two properties in your roller-custom.properties
file to control password encryption:

   passwds.encryption.enabled=true
   passwds.encryption.algorithm=SHA

The values shown are the defaults.

- Dave


On Wed, Apr 16, 2008 at 6:16 AM, Rasif Khan <Ra...@lntinfotech.com> wrote:
>
>  Hi,
>
>  I am working on integrating roller with my website which i am developing
>  currently. I have done most part of it.
>  The problem is that roller encrypts the password entered by user (i am
>  using md5) to match it with the encrypted
>  password stored in roller table. I want to remove this encryption of
>  password entered by user, bcoz i am already
>  passing the encrypted password to make a match with the one stored in
>  table. Here if i am not removing this user
>  entered password's encryption then the password is encrypted twice & error
>  occurs of "Wrong match of username
>  & password". Plz help me telling how to remove this encryption of user
>  entered password, which he enters at the
>  time of LOGIN.
>
>
>  Regards
>  Rasif Khan
>
>
>
>
>  ______________________________________________________________________
>