The EJBUserManager returns an instance of EJBUserWrapper, which implements
User. The EJBUserWrapper converts RemoteExceptions to RuntimeExceptions.
Marcel
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Kapa
> Sent: Tuesday, March 13, 2001 3:07 PM
> To: Orion-Interest
> Subject: EJBUser & User
>
>
> Hi people,
>
> I'm trying to figure out how to set up a usermanager for my
> application,
> and since the User is supposed to be an EJB, I'm having a look at the
> EJBUserManager. But I can't figure out why the User interface is not a
> superinterface of the EJBUser interface, and the
> EJBUSerManager methods
> return a User interface. Any clue? Is
>
> EJBUser ejbUser = (EJBUser) ejbUserManager.getUser(username)
>
> where ejbUserManager is my EJBUserManager
>
> supposed to work?
>
> Greetings
> Diego
>