This shouldn't help if I wish to work under different identities in the same
thread SEQUENTIALLY though (e.g. test clients running security tests in the
same thread, servlets, ...).
Anyway, I checked some jBoss code, if I remember correctly, setServer()
makes ClientLoginModule use TLS for storing principal.

Alexander Klyubin

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Oleg Nitz
Sent: Monday, January 22, 2001 18: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




Reply via email to