Re: RE : [opencms-dev] Has anyone created a Web User self registration JSP???

Christian Steinert christian_steinert at web.de
Thu Feb 8 01:05:04 CET 2007


> So does the cms.addWebUser encrypt the password for me?
I have not tried it, but I would expect so.

> 
> Also, is there a way I can set the password myself? So, how can I take a cleartext password and encrypt it then update the user table?

The cmsUser has a setPassword method. Have you tried to use that on a Web user?

to update a password you probably you have to
  cmsUser.setPassword( ... );
followed by
  cmsObject.writeUser( cmsUser );



christian

_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000066




More information about the opencms-dev mailing list