Hi,

I would like to connect a user to Jetspeed, but I want
to use my own database. So, I created the object model
with torque and now, I try to use this class to
connect my user.
So, I work in the method getUser of the class
org.apache.services.security.turbine.TurbineUserManagement.
First, I check that the user is not in the database of
jetspeed. If not, I check in my own database like this
List usersExt;
Criteria leCritere = new Criteria();
leCritere.add(BaseUnisClientPeer.IDENTIFIANT,
principal.getName());
usersExt = BaseUnisClientPeer.doSelect(leCritere);
if (usersExt.size() == 1)
{
return (JetspeedUser)usersExt.get(0);
}
But, when it arrived on the return, it makes a mistake
:
org.apache.jetspeed.services.security.UserException:
Failed to retrieve user 'Matthieu':
com.unis.om.UnisClient
(Note = Matthieu is my user and com.unis.om.UnisClient
contains my object model).
Can someone help me? Thanks a lot

Matthieu



___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran�ais !
Yahoo! Mail : http://fr.mail.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to