Or log out the each logincontext before you create the next one ?
-----Original Message-----
From: Oleg Nitz [mailto:[EMAIL PROTECTED]]
Sent: 22 January 2001 16:59
To: jBoss Developer
Subject: Re[2]: [jBoss-Dev] jaas - commit()
Alexander Klyubin wrote:
> Hm. Has anyone been successful in working under several security
identities
> from the same VM or thread on the client? I had problems doing so. I'm
just
> not sure, whether it is a bug in jBoss or it is meant to be so.
If you want to have different security identities for different
threads, call SecurityAssociation.setServer(),
even if it is the client :-)
Oleg