Doug Turner wrote:
> Moving this to the public mozilla newsgroups.
> Mitch,
>
> Conrad has already finished profile switching, however, it does not
> allow switching of PSM profiles. After a profile switch, you most
> likely have the same certdb as the last user! What we need is for the
> PSM-Glue (and psm 2.0) to detect a profile switch, and do the right thing.
> Conrad, could you comment on what is in mozilla so far, and how it would
> effect a component like psm-glue which needs to detect a profile switch.
>
Having PSM work with profile switching is part of the plan.
What is in (my local tree) are changes to PSMGlue which registers it as
a profile observer. When it gets notified that the profile is changing,
it shuts down the PSMEventLoop thread. This causes the server side to
exit. Next time a secure connection is needed, a new PSM control
connection is established just like the first time. This is unfortunate
but the only time at which the profile dir can be specifed is at the
CMT_Hello call.
This was working at some point. Recently, it stopped working - at least
on Mac. It will be working soon - let's hope.
In PSM 2.0, there should be a simple way of having PSM change to a new
profile dir without all this tricky stuff.
-Conrad
>> Mitchell Stoltz wrote:
>>
>>> If I remember right, Embedding is working on the ability to switch
>>> user profiles without restarting the app. Can PSM be made to do this
>>> as well? How difficult would it be?
>>> Thanks,
>>> Mitch
>>
>>