If anyone has a solution for adding a column to TURBINE_USER which works
with the turbine security service (yes, using torque) I would be most
relieved ;)
---
Hi Jürgen, I appreciate the response, but am not following where the
cast should happen. The invocation begins with a call to:
TurbineSecurity.addUser(User user, String password)
Where the user object comes from:
TurbineSecurity.getUserInstance();
But really, I'm happy to let it drop. All I want to do is add a column
to the user table. I've been following:
http://jakarta.apache.org/turbine/turbine/turbine-2.3.1/howto/extend-user-howto.html
with much headache. Having tweaked and played with this most mysterious
howto, I am inferring from the last comment and hoping that by
generating the turbine classes I will be able to go forward.
Cheers,
-Ryan
Jürgen Hoffmann wrote:
Hi Ryan,
make sure you cast the user to the right object, there is the OM one, and the
security one.
Kind regards
Juergen
-----Ursprüngliche Nachricht-----
Von: Ryan Gies [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 19. Januar 2007 03:20
An: Turbine Users List
Betreff: Infinite loop in addUser()
Using turbine 2.3.1
I'm extending turbine user (per the howto) and have come across this
infinite loop which I thought I'd bring to attention. Has anyone seen
this before? Here's the repeating portion of the stacktrace:
at
org.apache.turbine.services.security.torque.TorqueUserManager.createAccount(To
rqueUserManager.java:470)
at
org.apache.turbine.services.security.BaseSecurityService.addUser(BaseSecurityS
ervice.java:827)
at
org.apache.turbine.services.security.TurbineSecurity.addUser(TurbineSecurity.j
ava:561)
at
org.apache.turbine.om.security.TurbineUser.save(TurbineUser.java:637)
at
org.apache.turbine.services.security.torque.TorqueUserManager.createAccount(To
rqueUserManager.java:470)
at
org.apache.turbine.services.security.BaseSecurityService.addUser(BaseSecurityS
ervice.java:827)
at
org.apache.turbine.services.security.TurbineSecurity.addUser(TurbineSecurity.j
ava:561)
at
org.apache.turbine.om.security.TurbineUser.save(TurbineUser.java:637)
---------------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]