Gopal Ramasammy-Cook wrote:
> I am adding a new TurbineUser to the Database. I am making the ff call:
> 
> TurbineSecurity.addUser(user, password)
> 
> Why is it necessary to specify the password in this call, when a TurbineUser object 
>already has the password?? What am I missing?

Please read the comments in User interface javadoc. You should not use
getPassword/setPassword methods
directly - if you have encryption enabled, or the passwords are stored
somewhere outside your system
(NT domain controler for example) those methods won't work correctly.

Thats why password is passed into addUser and other methods of the
service.

Rafal

--
Rafal Krzewski
Senior Internet Developer
mailto:[EMAIL PROTECTED]
+48 22 8534830 http://e-point.pl


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to