Alexander Klyubin wrote: > 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, ...). Then create different LoginContexts SEQUENTIALLY or just call SecurityAssociation.setPrincipal and SecurityAssociation.setCredential with different user names and passwords. > Anyway, I checked some jBoss code, if I remember correctly, setServer() > makes ClientLoginModule use TLS for storing principal. If "TLS" means ThreadLocal, then you are right. Oleg
- [jBoss-Dev] jaas - commit() Ferguson, Doug
- Re: [jBoss-Dev] jaas - commit() Oleg Nitz
- Re: [jBoss-Dev] jaas - commit() dferugson
- RE: [jBoss-Dev] jaas - commit() Alexander Klyubin
- Re[2]: [jBoss-Dev] jaas - commit() Oleg Nitz
- RE: Re[2]: [jBoss-Dev] jaas - comm... Alexander Klyubin
- RE: Re[4]: [jBoss-Dev] jaas - ... Oleg Nitz
- RE: Re[4]: [jBoss-Dev] jaa... Alexander Klyubin
- Re: [jBoss-Dev] jaas - com... Oleg Nitz
- RE: [jBoss-Dev] jaas - com... Alexander Klyubin
- Re: [jBoss-Dev] jaas - com... Scott M Stark
- [jBoss-Dev] SecurityInterc... Scott M Stark
- Re: [jBoss-Dev] SecurityIn... Oleg Nitz
- Re: [jBoss-Dev] SecurityIn... Scott M Stark
- RE: Re[4]: [jBoss-Dev] jaa... Alexander Klyubin
- Re: [jBoss-Dev] jaas - commit() Oleg Nitz
- Re: [jBoss-Dev] jaas - commit() Oleg Nitz
