I'm not sure how to approach this properly. I have main shell with regions. Everything as PRISM prescribes. I create Bootstrapper in App.xaml and run it.
What is a proper way to intercept main UI/Prism and Authenticate user? My application doesn't allow anonimous users.
EDIT: I found following article and this looks good but I'm not sure how module "depends on" works in this case. From what I understand - login module loads first but then it will load other modules doesn't matter if user logged in or not http://www.prismforsilverlight.com/2011/02/16/login-framework-with-mvvm-and-prism/
EDIT2:
My main question still remains. How do intercept shell and module loading with my custom login UI? I'm looking for best practice how it's done with PRISM. Article I mentioned in my EDIT 1 is just trying to solve same kind of issue.. It does mention SecurityService but it doesn't mention HOW login screen presented. And all the hooks/mechanics behind this process.