Hello Simon, have you been able to find an example? I have looked around, but the only detailed example I could find was in the Websphere feature pack for SCA and depended on running SCA inside IBM Websphere's security infrastructure, whereas I am looking at a standalone Tuscany runtime.
-- Sebastian > -----Original Message----- > From: Simon Laws [mailto:[email protected]] > Sent: Tuesday, September 21, 2010 11:28 AM > To: [email protected] > Subject: Re: JAAS and the RequestContext object > > On Mon, Sep 20, 2010 at 3:23 PM, Millies, Sebastian > <[email protected]> wrote: > > Hello there, > > > > I have been trying to figure out how I can authenticate a user > > to my application (with username/password) so that every SCA > > RequestContext object will afterwards contain a Principal or > > SecuritySubject that allows me to associate any service method > > call in my application with that user. > > > > Can anyone point me in the right direction? I have managed a > > JAAS Login Module, but how can I influence the contents of the > > request context in Tuscany 1.6? > > > > -- Sebastian > > > > > > Hi Sebastien > > IIRC there is a Security Indentity policy that moves the subject from > the Tuscany message into the context. Let me see if I can find an > example. > > Simon > > -- > Apache Tuscany committer: tuscany.apache.org > Co-author of a book about Tuscany and SCA: tuscanyinaction.com
