Aurelien, that's just what I want to do. 

I see from the TurbieUM.addDefaultPSML how to create a new PSML for a user,
but how would you suggest that I test if PSML exists for this user ?



-----Original Message-----
> From: Jefferson Anselmo [mailto:[EMAIL PROTECTED]]
> Sent: mardi, 26. novembre 2002 13:50
> To: Jetspeed Users List
> Subject: RES: Creation of PSMLs files
> 
> 
> Thanks, Aurelien!
> 
> -----Mensagem original-----
> De: Aurelien Pernoud [mailto:[EMAIL PROTECTED]]
> Enviada em: terça-feira, 26 de novembro de 2002 8:52
> Para: 'Jetspeed Users List'
> Assunto: RE: Creation of PSMLs files
> 
> 
> 
> I'd say at the creation of user :
> 
> org.apache.jetspeed.services.security.turbine.TurbineUserManagement
> 
> When addUser() method is called, at the end it calls 
> addDefaultPSML(), so I'm pretty sure of what I'm saying.
> 
> But I think you'd be able to create it at login, if you added 
> the user directly in database (via another app for example), 
> then you just have to test that the user exists, and if it 
> hasn't a psml associated, then do the same that 
> addDefaultPSML... for the user that has just logged in !
> 
> Aurelien
> 
> > -----Message d'origine-----
> > De : Jefferson Anselmo [mailto:[EMAIL PROTECTED]]
> > Envoyé : lundi 25 novembre 2002 18:32
> > À : Jetspeed Users List
> > Objet : Creation of PSMLs files
> > 
> > 
> >    Hi all,
> > 
> >    Does anybody know when the PSML file for a given user is 
> > created ? At the first user´s logon, at account´s creation or 
> > none of these ?
> > 
> >    Thanks in advance,
> >    Jefferson
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 

Reply via email to