I typically use the TurbineSecurity object to save users.


On Wed, 2001-09-19 at 11:50, John McNally wrote:
> All I can suggest is to place debugging statements in the save() method,
> to see where it seems to be breaking.
> 
> john mcnally
> 
> Ethan Adams wrote:
> > 
> > i have an app using turbine that needs to update another apps password when 
>changed.
> > 
> > so, i use the normal TurbineSecurity.changePassword() for my app and that works 
>fine.
> > 
> > i used torque to generate the needed objects that point to the other apps 
>postgresql database.
> > 
> > i make calls like this:
> > 
> > Criteria criteria = new Criteria();
> > criteria.add( UsersPeer.USERNAME, user.getUserName() );
> > Users theUser = (Users) UsersPeer.doSelect( criteria ).elementAt(0);
> > 
> > theUser.setPassword( encryptedPassword );
> > theUser.save();
> > 
> > i know it gets the Users object when i doSelect() b/c i ran some tests by writing 
>the values to stdout.
> > 
> > however...the save() is doing nothing.  no exceptions are thrown either.  any 
>thoughts.
> > 
> > jdk1.3.1
> > redhat 7.1
> > tdk 2.1 using tomcat as the servlet engine
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
-- 
Matt Inger ([EMAIL PROTECTED])
Sedona Corporation
455 S. Gulph Road, Suite 300
King of Prussia, PA 19406
(484) 679-2213
"Self-respect - the secure feeling that no one,
 as yet, is suspicious." -H.L. Mencken 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to