[prev in list] [next in list] [prev in thread] [next in thread]
List: turbine-user
Subject: Re: AW: Infinite loop in addUser()
From: Ryan Gies <ryangies () livesite ! net>
Date: 2007-01-21 3:41:32
Message-ID: 45B2E0EC.2010709 () livesite ! net
[Download RAW message or body]
Jürgen, thanks for your contributions. I came across an earlier
response of yours:
Subject AW: How to create group and grant user?
Date Wed, 16 Aug 2006 20:12:59 GMT
Which was the clue I needed, thank you. To answer my previous
confusion, the infinite loop happens when a torque-generated class is
assigned to:
services.SecurityService.user.class
Ryan Gies wrote:
> 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:ryangies@livesite.net] 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: turbine-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: turbine-user-help@jakarta.apache.org
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: turbine-user-help@jakarta.apache.org
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic