This project has moved and is read-only. For the latest updates, please go here.

Authentication and Dynamic Loading XAP

Aug 16, 2011 at 2:00 PM
Edited Aug 16, 2011 at 2:03 PM

We have a common shell project, which uses its own RIA services to do authentication. This web context is is its own name space. We currently develop couple of  more XAP files, each uses its own RIA services and its own name spaces. Once shell is authenticated, I do not want to authenticate the called XAP files, is it possible to pass the authentication infromation to called modules? It looks like you can not assign the User/Authentication, they are only getters not have setters.

*** I did see Jermey's reply on a different question "

I would use an IApplicationService - your own, and register the same was as Sterling. With that you can take init params, inspect query string, etc. Create a IWebContext and implement it and export it. Anywhere you need the context, import it. Does that make sense?


I am going to give it a try on this and see if it works.