As far as I can tell, EJBUserManager and EJBUser are BROKEN in 1.4.4+. The
getGroups() method always returns null, and any role checking always returns
false (isUserInRole(x)).

This to me is a the most serious bug in Bugzilla, but has received no
attention yet from the guys - sad.

I have a complete working implementation using the above two in 1.3.8.

If anyone else has used EJBUser management in 1.4.4, please yell.

Mike

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Werner Bohl
> Sent: Saturday, December 16, 2000 2:14 PM
> To: Orion-Interest
> Subject: RE: UserManagers
>
>
> Arved:
> Could you please enlighten us with the hacks required to use
> EJBUserManager?
>
> TIA,
>
> Werner Bohl
> Organization  for Tropical Studies
>
> ----- Original Message -----
> From: Arved Sandstrom <[EMAIL PROTECTED]>
> To: Orion-Interest <[EMAIL PROTECTED]>
> Sent: Tuesday, December 12, 2000 6:56 AM
> Subject: RE: UserManagers
>
>
> > Hi, Juan
> >
> > We haven't done anything remarkable with EJBUserManager; simple
> declarations
> > in one or more appropriate ejb-jar.xml files, and in
> orion-application.xml.
> > The 2 tables (user and group) were successfully created, we
> loaded up some
> > user data of our own, and our app has since successfully added, removed,
> and
> > modified user data using the EJBUserManager interface methods.
> The backing
> > database is Oracle, incidentally.
> >
> > As with the DataSourceUserManager we had to hack out SQL-based fixes for
> the
> > group methods, like addToGroup(), in order to support user management.
> There
> > seems to be some kind of obfuscation problem still happening here, if I
> > recall correctly.
> >
> > Authorization against the user data via RoleManager, using this
> user data,
> > appears to work correctly.
> >
> > So, we haven't "implemented" _a_ EJBUserManager; we just used the stuff
> > already there, and with some hacks it seems to work OK.
> >
> > Arved Sandstrom
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Juan Lorandi
> > (Chile)
> > Sent: Monday, December 11, 2000 4:44 PM
> > To: Orion-Interest
> > Subject: UserManagers
> >
> >
> > Guys, anybody has succesfully implemented en EJBUserManager ?
> > I have to deploy my app in a cluster and XMLUserManager won't do...
> >
> > I' ve had, in the past, decompiled DataSourceUserManager and
> recompiled it
> > to fix the various bugs in the implementation, but regretably,
> I'm working
> > in a different country and don't have any of the src...
> >
> > Anybody looked into EJBUserManager and knows it doesn't work as shipped
> > either? that info would help, as I would directly code my own Datasource
> > usermanager...
> >
> > TIA
> >
> > JP
> >
> >
> >
>
>
>


Reply via email to