You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Quinton McCombs <qu...@qdog.org> on 2002/11/13 22:50:35 UTC
Henning's DB Security Service
I am trying to implement Henning's DB Security Service and I have run
into a small problem. How do I integrate RunData.getUser() and
RunData.setUser()? Should I modify the security service code or
RunData?
How have others gotten past this little issue?
RE: Henning's DB Security Service
Posted by Chris K Chew <ch...@fenetics.com>.
Unfortunately, the RunData interface requires that the User object you use
implements the User interface. I don't think there is any getting around
it. If I recall correctly, I was able to put a bunch of alias methods in,
and added the temp storage stuff, with not too much trouble.
FYI, I gave up the "hennings security proposal" path after a few days in
favor of simply extending TurbineUser according the the 2.1 howto (with
slight syntax changes to work with 2.2) and writing my own standalone
permission system as a TurbineService.
Chris
> -----Original Message-----
> From: Quinton McCombs [mailto:qmccombs@nequalsone.com]
> Sent: Wednesday, November 13, 2002 3:48 PM
> To: Turbine Users List
> Subject: RE: Henning's DB Security Service
>
>
> No. o.a.fulcrum.impl.db.DBUser has most of the interface defined if not
> all of it. I really did not want to duplicate it in my application
> classes.
>
>
> On Wed, 2002-11-13 at 16:18, Chris K Chew wrote:
> > Does your User extension object implement o.a.t.om.security.User?
> >
> > Chris
> >
> > > -----Original Message-----
> > > From: Quinton McCombs [mailto:quinton@qdog.org]
> > > Sent: Wednesday, November 13, 2002 2:51 PM
> > > To: Turbine Users List
> > > Subject: Henning's DB Security Service
> > >
> > >
> > > I am trying to implement Henning's DB Security Service and I have run
> > > into a small problem. How do I integrate RunData.getUser() and
> > > RunData.setUser()? Should I modify the security service code or
> > > RunData?
> > >
> > > How have others gotten past this little issue?
> > >
> > >
> > >
> >
> > --
> > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: Henning's DB Security Service
Posted by Quinton McCombs <qm...@nequalsone.com>.
No. o.a.fulcrum.impl.db.DBUser has most of the interface defined if not
all of it. I really did not want to duplicate it in my application
classes.
On Wed, 2002-11-13 at 16:18, Chris K Chew wrote:
> Does your User extension object implement o.a.t.om.security.User?
>
> Chris
>
> > -----Original Message-----
> > From: Quinton McCombs [mailto:quinton@qdog.org]
> > Sent: Wednesday, November 13, 2002 2:51 PM
> > To: Turbine Users List
> > Subject: Henning's DB Security Service
> >
> >
> > I am trying to implement Henning's DB Security Service and I have run
> > into a small problem. How do I integrate RunData.getUser() and
> > RunData.setUser()? Should I modify the security service code or
> > RunData?
> >
> > How have others gotten past this little issue?
> >
> >
> >
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: Henning's DB Security Service
Posted by Chris K Chew <ch...@fenetics.com>.
Does your User extension object implement o.a.t.om.security.User?
Chris
> -----Original Message-----
> From: Quinton McCombs [mailto:quinton@qdog.org]
> Sent: Wednesday, November 13, 2002 2:51 PM
> To: Turbine Users List
> Subject: Henning's DB Security Service
>
>
> I am trying to implement Henning's DB Security Service and I have run
> into a small problem. How do I integrate RunData.getUser() and
> RunData.setUser()? Should I modify the security service code or
> RunData?
>
> How have others gotten past this little issue?
>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: AW: Henning's DB Security Service
Posted by Quinton McCombs <qm...@nequalsone.com>.
Right now, that is the only one that I have tried to convert. I am in
the process of migrating to T2.2 RC1. Since, I my application in 2.1
extends TurbineUser, I needed a way to migrate my custom class.
I am not sure if I have read the proposal or not... I have read so
many messages in the archives over the past week, I am starting to lose
track. I will go back and take a look though.
On Wed, 2002-11-13 at 16:02, Marc Lustig wrote:
> I have also just started to try to implement this.
> Have you read the outline that Henning posted to the list in september? I
> think it's quite helpful.
> Can I ask you something, what services have you switched to Fulcrum already?
> If I got Henning right, he said that it is impossible to switch to his
> Security Service only and leave all the other services Turbine-based.
> Unfortunetely he didn't tell me which services are needed to switch to
> Fulcrum.
>
> Regards
> Marc
>
>
> > -----Ursprüngliche Nachricht-----
> > Von: Quinton McCombs [mailto:quinton@qdog.org]
> > Gesendet: Mittwoch, 13. November 2002 22:51
> > An: Turbine Users List
> > Betreff: Henning's DB Security Service
> >
> >
> > I am trying to implement Henning's DB Security Service and I have run
> > into a small problem. How do I integrate RunData.getUser() and
> > RunData.setUser()? Should I modify the security service code or
> > RunData?
> >
> > How have others gotten past this little issue?
> >
> >
> >
>
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
AW: Henning's DB Security Service
Posted by Marc Lustig <ma...@marclustig.com>.
I have also just started to try to implement this.
Have you read the outline that Henning posted to the list in september? I
think it's quite helpful.
Can I ask you something, what services have you switched to Fulcrum already?
If I got Henning right, he said that it is impossible to switch to his
Security Service only and leave all the other services Turbine-based.
Unfortunetely he didn't tell me which services are needed to switch to
Fulcrum.
Regards
Marc
> -----Ursprüngliche Nachricht-----
> Von: Quinton McCombs [mailto:quinton@qdog.org]
> Gesendet: Mittwoch, 13. November 2002 22:51
> An: Turbine Users List
> Betreff: Henning's DB Security Service
>
>
> I am trying to implement Henning's DB Security Service and I have run
> into a small problem. How do I integrate RunData.getUser() and
> RunData.setUser()? Should I modify the security service code or
> RunData?
>
> How have others gotten past this little issue?
>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>